]> 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)
commit02c2ca727e510d624629c42a942e803f18362374
tree63df45544829f74c5b58113162157f14bd056c56
parentca11108028d59559a0e2654d3ff0d7e4c5bfe6be
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