]> 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)
commit1b1a6ef597c7f662da847499d02ad519c1a8b1b3
tree63df45544829f74c5b58113162157f14bd056c56
parentf7dafee18538a3933f2cb9d4dcf8b98ff1276ffb
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