]> git.baikalelectronics.ru Git - kernel.git/commit
mptcp: drop MPTCP_ADDR_IPVERSION_4/6
authorGeliang Tang <geliangtang@gmail.com>
Wed, 7 Apr 2021 00:16:01 +0000 (17:16 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Apr 2021 21:09:40 +0000 (14:09 -0700)
commit42840029bb41a4e698ea3761edeee7666ae3c384
tree63df45544829f74c5b58113162157f14bd056c56
parent9a08c403fcdeddbee0b418476ff47e57790f9fa6
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>
net/mptcp/options.c
net/mptcp/protocol.h