]> git.baikalelectronics.ru Git - kernel.git/commit
mptcp: send out ADD_ADDR with echo flag
authorGeliang Tang <geliangtang@gmail.com>
Thu, 24 Sep 2020 00:29:50 +0000 (08:29 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 25 Sep 2020 02:58:33 +0000 (19:58 -0700)
commitc18d90c5ef750e6617f70d004f2fd92659176964
tree53f5ef6d433502b618caed3755fae16c50294d9c
parentfa1f452cea76dd48ac1db37aff6f5e6477b0f4d5
mptcp: send out ADD_ADDR with echo flag

When the ADD_ADDR suboption has been received, we need to send out the same
ADD_ADDR suboption with echo-flag=1, and no HMAC.

Suggested-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Reviewed-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: Geliang Tang <geliangtang@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mptcp/options.c
net/mptcp/pm.c
net/mptcp/pm_netlink.c
net/mptcp/protocol.h