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)
commit6a6c05a8b016bb5c63750f91cdb6d669b5a4b14f
tree53f5ef6d433502b618caed3755fae16c50294d9c
parentd0876b2284cf8b34dd214b2d0aa21071c345da59
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