OpenCloudOS-Kernel/drivers/net/ethernet/broadcom
Eric Dumazet a5a1195559 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>
2012-01-23 14:25:01 -05:00
..
bnx2x bnx2x: fix compilation error with SOE in fw_dump 2012-01-23 13:58:19 -05:00
Kconfig MII: fix Kconfig dependencies for MII 2011-09-15 15:49:08 -04:00
Makefile
b44.c b44: Use dev_kfree_skb_irq() in b44_tx() 2011-11-23 16:40:31 -05:00
b44.h
bcm63xx_enet.c bcm63xx_enet: use an unique MDIO bus name. 2012-01-10 16:35:02 -08:00
bcm63xx_enet.h
bnx2.c bnx2: Update driver to use new mips firmware. 2011-12-19 15:46:28 -05:00
bnx2.h bnx2: switch to build_skb() infrastructure 2011-11-18 02:04:47 -05:00
bnx2_fw.h
cnic.c cnic: Improve error recovery on bnx2x devices 2012-01-05 14:01:21 -05:00
cnic.h cnic: Add timeout for ramrod replies. 2011-08-28 17:08:27 -04:00
cnic_defs.h cnic: Improve error recovery on bnx2x devices 2012-01-05 14:01:21 -05:00
cnic_if.h cnic: Improve error recovery on bnx2x devices 2012-01-05 14:01:21 -05:00
sb1250-mac.c sb1250: use an unique MDIO bus name. 2012-01-10 16:35:00 -08:00
tg3.c tg3: fix ipv6 header length computation 2012-01-23 14:25:01 -05:00
tg3.h tg3: Break out RSS indir table init and assignment 2011-12-15 13:09:11 -05:00