• P
    mptcp: use tcp_build_frag() · e2223995
    Paolo Abeni 提交于
    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: NPaolo Abeni <pabeni@redhat.com>
    Signed-off-by: NJakub Kicinski <kuba@kernel.org>
    e2223995
protocol.c 69.8 KB