linux/net/mptcp
Mat Martineau 6d0060f600 mptcp: Write MPTCP DSS headers to outgoing data packets
Per-packet metadata required to write the MPTCP DSS option is written to
the skb_ext area. One write to the socket may contain more than one
packet of data, which is copied to page fragments and mapped in to MPTCP
DSS segments with size determined by the available page fragments and
the maximum mapping length allowed by the MPTCP specification. If
do_tcp_sendpages() splits a DSS segment in to multiple skbs, that's ok -
the later skbs can either have duplicated DSS mapping information or
none at all, and the receiver can handle that.

The current implementation uses the subflow frag cache and tcp
sendpages to avoid excessive code duplication. More work is required to
ensure that it works correctly under memory pressure and to support
MPTCP-level retransmissions.

The MPTCP DSS checksum is not yet implemented.

Co-developed-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Co-developed-by: Peter Krystad <peter.krystad@linux.intel.com>
Signed-off-by: Peter Krystad <peter.krystad@linux.intel.com>
Co-developed-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: Christoph Paasch <cpaasch@apple.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-01-24 13:44:07 +01:00
..
crypto.c mptcp: Add key generation and token tree 2020-01-24 13:44:07 +01:00
Kconfig mptcp: Add MPTCP socket stubs 2020-01-24 13:44:07 +01:00
Makefile mptcp: Add key generation and token tree 2020-01-24 13:44:07 +01:00
options.c mptcp: Write MPTCP DSS headers to outgoing data packets 2020-01-24 13:44:07 +01:00
protocol.c mptcp: Write MPTCP DSS headers to outgoing data packets 2020-01-24 13:44:07 +01:00
protocol.h mptcp: Write MPTCP DSS headers to outgoing data packets 2020-01-24 13:44:07 +01:00
subflow.c mptcp: Add key generation and token tree 2020-01-24 13:44:07 +01:00
token.c mptcp: Add key generation and token tree 2020-01-24 13:44:07 +01:00