summaryrefslogtreecommitdiffstats
path: root/lib/reciprocal_div.c
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2012-01-23 01:22:09 +0000
committerDavid S. Miller <davem@davemloft.net>2012-01-23 14:25:01 -0500
commita5a1195559f2e20bd975f58e50f53ebe84d5cca6 (patch)
treeb8122ef05434f9543f331e6a03776bbbb3f1141d /lib/reciprocal_div.c
parentda057fb7d272c7e7609465a54bcac8ec8072ead5 (diff)
downloadblackbird-op-linux-a5a1195559f2e20bd975f58e50f53ebe84d5cca6.tar.gz
blackbird-op-linux-a5a1195559f2e20bd975f58e50f53ebe84d5cca6.zip
tg3: fix ipv6 header length computation
tg3_start_xmit() makes the wrong assumption for TSOV6 that skb->head doesnt include any payload data. if (skb_is_gso_v6(skb)) hdr_len = skb_headlen(skb) - ETH_HLEN; This is not true anymore after commit f07d960df3 (tcp: avoid frag allocation for small frames) We should instead use : skb_transport_offset(skb) + tcp_hdrlen(skb) Its also true for IPv4 Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> CC: Matt Carlson <mcarlson@broadcom.com> CC: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/reciprocal_div.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud