diff options
author | 2021-04-06 17:16:02 -0700 | |
---|---|---|
committer | 2021-04-07 14:09:40 -0700 | |
commit | 761c124ed9698581e88d7babb9001401724435dd (patch) | |
tree | 3986378ce8d9b6bf7c92122c9b825da3b774ed0c /include/linux/netdevice.h | |
parent | mptcp: drop MPTCP_ADDR_IPVERSION_4/6 (diff) | |
download | wireguard-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 'include/linux/netdevice.h')
0 files changed, 0 insertions, 0 deletions