diff options
author | Geliang Tang <geliangtang@gmail.com> | 2021-04-07 02:16:01 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-04-07 23:09:40 +0200 |
commit | 1b1a6ef597c7f662da847499d02ad519c1a8b1b3 (patch) | |
tree | 63df45544829f74c5b58113162157f14bd056c56 /net/mptcp/protocol.h | |
parent | mptcp: use mptcp_addr_info in mptcp_options_received (diff) | |
download | linux-1b1a6ef597c7f662da847499d02ad519c1a8b1b3.tar.xz linux-1b1a6ef597c7f662da847499d02ad519c1a8b1b3.zip |
mptcp: drop MPTCP_ADDR_IPVERSION_4/6
Since the type of the address family in struct mptcp_options_received
became sa_family_t, we should set AF_INET/AF_INET6 to it, instead of
using MPTCP_ADDR_IPVERSION_4/6.
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 'net/mptcp/protocol.h')
-rw-r--r-- | net/mptcp/protocol.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/mptcp/protocol.h b/net/mptcp/protocol.h index ca3013facbba..d8de1e961ab0 100644 --- a/net/mptcp/protocol.h +++ b/net/mptcp/protocol.h @@ -90,8 +90,6 @@ /* MPTCP ADD_ADDR flags */ #define MPTCP_ADDR_ECHO BIT(0) -#define MPTCP_ADDR_IPVERSION_4 4 -#define MPTCP_ADDR_IPVERSION_6 6 /* MPTCP MP_PRIO flags */ #define MPTCP_PRIO_BKUP BIT(0) |