mptcp: clean-up the rtx path
authorPaolo Abeni <pabeni@redhat.com>
Fri, 26 Mar 2021 18:26:30 +0000 (11:26 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Mar 2021 22:05:15 +0000 (15:05 -0700)
commit2d6f5a2b5720cd3fdbaa21d8f5a6a192257b2a3c
tree6067d1cdea3da4fb740a3fd64943220cb3ba7c17
parent6cb502a3684ea55ee76c5b070450b3caa4151565
mptcp: clean-up the rtx path

After the previous patch we can easily avoid invoking
the workqueue to perform the retransmission, if the
msk socket lock is held at rtx timer expiration.

This also simplifies the relevant code.

Co-developed-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mptcp/protocol.c
net/mptcp/protocol.h