]> git.baikalelectronics.ru Git - kernel.git/commit
mptcp: add the outgoing RM_ADDR support
authorGeliang Tang <geliangtang@gmail.com>
Thu, 24 Sep 2020 00:29:48 +0000 (08:29 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 25 Sep 2020 02:58:33 +0000 (19:58 -0700)
commit2ee3b3d68894be574b95c4a68c27b4289381cda5
tree8496df1eee63d6f29befa19fbee8f16752111044
parent6e6ea2e03c6f731573dbf45fb48c7bb5397315fd
mptcp: add the outgoing RM_ADDR support

This patch added a new signal named rm_addr_signal in PM. On outgoing path,
we called mptcp_pm_should_rm_signal to check if rm_addr_signal has been
set. If it has been, we sent out the RM_ADDR option.

Suggested-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Suggested-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Geliang Tang <geliangtang@gmail.com>
Reviewed-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mptcp/options.c
net/mptcp/pm.c
net/mptcp/protocol.h