• Paolo Abeni's avatar
    mptcp: use tcp_build_frag() · e2223995
    Paolo Abeni authored
    mptcp_push_pending() is called even on orphaned
    msk (and orphaned subflows), if there is outstanding
    data at close() time.
    
    To cope with the above MPTCP needs to handle explicitly
    the allocation failure on xmit. The newly introduced
    do_tcp_sendfrag() allows that, just plug it.
    
    We can additionally drop a couple of sanity checks,
    duplicate in the TCP code.
    Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
    Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
    e2223995
protocol.c 69.8 KB