OSDN Git Service

mptcp: remove MPTCP_ADD_ADDR_IPV6 and MPTCP_ADD_ADDR_PORT
authorYonglong Li <liyonglong@chinatelecom.cn>
Tue, 24 Aug 2021 01:05:43 +0000 (18:05 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Aug 2021 08:28:29 +0000 (09:28 +0100)
commitc233ef13907038239303a73ca0565bcc3f3373bc
tree25e209548d5eb69a7086e4c669f935aa3d3a89a3
parentf462a446384d0c00c6e457f7e8eb2053b095a2f1
mptcp: remove MPTCP_ADD_ADDR_IPV6 and MPTCP_ADD_ADDR_PORT

MPTCP_ADD_ADDR_IPV6 and MPTCP_ADD_ADDR_PORT are not necessary, we can get
these info from pm.local or pm.remote.

Drop mptcp_pm_should_add_signal_ipv6 and mptcp_pm_should_add_signal_port
too.

Co-developed-by: Geliang Tang <geliangtang@gmail.com>
Signed-off-by: Geliang Tang <geliangtang@gmail.com>
Signed-off-by: Yonglong Li <liyonglong@chinatelecom.cn>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mptcp/pm.c
net/mptcp/pm_netlink.c
net/mptcp/protocol.h