• Eric Dumazet's avatar
    tcp: introduce tcp_data_queue_ofo · e86b2919
    Eric Dumazet authored
    Split tcp_data_queue() in two parts for better readability.
    
    tcp_data_queue_ofo() is responsible for queueing incoming skb into out
    of order queue.
    
    Change code layout so that the skb_set_owner_r() is performed only if
    skb is not dropped.
    
    This is a preliminary patch before "reduce out_of_order memory use"
    following patch.
    Signed-off-by: default avatarEric Dumazet <eric.dumazet@gmail.com>
    Cc: Neal Cardwell <ncardwell@google.com>
    Cc: Yuchung Cheng <ycheng@google.com>
    Cc: H.K. Jerry Chu <hkchu@google.com>
    Cc: Tom Herbert <therbert@google.com>
    Cc: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
    Acked-by: default avatarNeal Cardwell <ncardwell@google.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    e86b2919
tcp_input.c 171 KB