OSDN Git Service

mptcp: implement and use MPTCP-level retransmission
authorPaolo Abeni <pabeni@redhat.com>
Fri, 27 Mar 2020 21:48:48 +0000 (14:48 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 30 Mar 2020 05:14:48 +0000 (22:14 -0700)
commit3b1d6210a9577369103330b0d802b0bf74b65e7f
treeff144be6ae7c006caa879b3581216ddc710dc0e1
parent3f8e0aae1796363442f6d0b7bc2210a6eecffb2d
mptcp: implement and use MPTCP-level retransmission

On timeout event, schedule a work queue to do the retransmission.
Retransmission code closely resembles the sendmsg() implementation and
re-uses mptcp_sendmsg_frag, providing a dummy msghdr - for flags'
sake - and peeking the relevant dfrag from the rtx head.

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