diff options
author | Geliang Tang <geliangtang@gmail.com> | 2021-04-06 17:16:02 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-04-07 14:09:40 -0700 |
commit | 761c124ed9698581e88d7babb9001401724435dd (patch) | |
tree | 3986378ce8d9b6bf7c92122c9b825da3b774ed0c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 1b1a6ef597c7f662da847499d02ad519c1a8b1b3 (diff) |
mptcp: unify add_addr(6)_generate_hmac
The length of the IPv4 address is 4 octets and IPv6 is 16. That's the only
difference between add_addr_generate_hmac and add_addr6_generate_hmac.
This patch dropped the duplicate code and unify them into one.
Co-developed-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: Geliang Tang <geliangtang@gmail.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions