• Paolo Abeni's avatar
    mptcp: queue data for mptcp level retransmission · 18b683bf
    Paolo Abeni authored
    Keep the send page fragment on an MPTCP level retransmission queue.
    The queue entries are allocated inside the page frag allocator,
    acquiring an additional reference to the page for each list entry.
    
    Also switch to a custom page frag refill function, to ensure that
    the current page fragment can always host an MPTCP rtx queue entry.
    
    The MPTCP rtx queue is flushed at disconnect() and close() time
    
    Note that now we need to call __mptcp_init_sock() regardless of mptcp
    enable status, as the destructor will try to walk the rtx_queue.
    
    v2 -> v3:
     - remove 'inline' in foo.c files (David S. Miller)
    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 avatarDavid S. Miller <davem@davemloft.net>
    18b683bf
protocol.c 38.8 KB