Skip to content
Commit ac1ae5f3 authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller
Browse files

be2net: dont pull too much data in skb linear part



skb_fill_rx_data() pulls 64 byte of data in skb->data

Its too much for TCP (with no options) on IPv4, as total size of headers
is 14 + 40 = 54

This means tcp stack and splice() are suboptimal, since tcp payload
is in part in tcp->data, and in part in skb frag.

Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
Acked-by: default avatarPadmanabh Ratnakar <padmanabh.ratnakar@emulex.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d2ee62e9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment