aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/testing/selftests/net
diff options
context:
space:
mode:
authorGeliang Tang <geliangtang@gmail.com>2021-04-06 17:16:02 -0700
committerDavid S. Miller <davem@davemloft.net>2021-04-07 14:09:40 -0700
commit761c124ed9698581e88d7babb9001401724435dd (patch)
tree3986378ce8d9b6bf7c92122c9b825da3b774ed0c /tools/testing/selftests/net
parentmptcp: drop MPTCP_ADDR_IPVERSION_4/6 (diff)
downloadwireguard-linux-761c124ed9698581e88d7babb9001401724435dd.tar.xz
wireguard-linux-761c124ed9698581e88d7babb9001401724435dd.zip
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/testing/selftests/net')
0 files changed, 0 insertions, 0 deletions