mptcp: retransmit ADD_ADDR when timeout
authorGeliang Tang <geliangtang@gmail.com>
Thu, 24 Sep 2020 00:30:02 +0000 (08:30 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 25 Sep 2020 02:58:34 +0000 (19:58 -0700)
commit00cfd77b9063dcdf3628a7087faba60de85a9cc8
tree1276a73fafd90242e75b305975fa9fba2ecfd121
parent08b81d873126b413cda511b1ea1cbb0e99938bbd
mptcp: retransmit ADD_ADDR when timeout

This patch implemented the retransmition of ADD_ADDR when no ADD_ADDR echo
is received. It added a timer with the announced address. When timeout
occurs, ADD_ADDR will be retransmitted.

Suggested-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Suggested-by: Paolo Abeni <pabeni@redhat.com>
Acked-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_netlink.c
net/mptcp/protocol.h