• Paolo Abeni's avatar
    tcp: propagate MPTCP skb extensions on xmit splits · 5a369ca6
    Paolo Abeni authored
    When the TCP stack splits a packet on the write queue, the tail
    half currently lose the associated skb extensions, and will not
    carry the DSM on the wire.
    
    The above does not cause functional problems and is allowed by
    the RFC, but interact badly with GRO and RX coalescing, as possible
    candidates for aggregation will carry different TCP options.
    
    This change tries to improve the MPTCP behavior, propagating the
    skb extensions on split.
    
    Additionally, we must prevent the MPTCP stack from updating the
    mapping after the split occur: that will both violate the RFC and
    fool the reader.
    Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
    Signed-off-by: default avatarMat Martineau <mathew.j.martineau@linux.intel.com>
    Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
    5a369ca6
tcp_output.c 119 KB