diff options
author | Jason Wang <jasowang@redhat.com> | 2013-03-25 20:19:58 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-03-26 12:44:44 -0400 |
commit | f9ca8f74399f9195fd8e01f67a8424a8d33efa55 (patch) | |
tree | 8d46024f2e5c82b0c811c87c8a9924b0efdd28dd /firmware/radeon/RS780_me.bin.ihex | |
parent | c1aad275b0293d2b1905ec95a945422262470684 (diff) |
netback: set transport header before passing it to kernel
Currently, for the packets receives from netback, before doing header check,
kernel just reset the transport header in netif_receive_skb() which pretends non
l4 header. This is suboptimal for precise packet length estimation (introduced
in 1def9238: net_sched: more precise pkt_len computation) which needs correct l4
header for gso packets.
The patch just reuse the header probed by netback for partial checksum packets
and tries to use skb_flow_dissect() for other cases, if both fail, just pretend
no l4 header.
Cc: Eric Dumazet <edumazet@google.com>
Cc: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'firmware/radeon/RS780_me.bin.ihex')
0 files changed, 0 insertions, 0 deletions