OpenCloudOS-Kernel/drivers/net/ethernet/broadcom
Prashant Sreedharan 40c1deaf6c tg3: Clear NETIF_F_TSO6 flag before doing software GSO
Commit d3f6f3a1d8 ("tg3: Prevent page
allocation failure during TSO workaround") modified driver logic
to use tg3_tso_bug() for any TSO fragment that hits hardware bug
conditions thus the patch increased the scope of work for tg3_tso_bug()
to cover devices that support NETIF_F_TSO6 as well. Prior to the
patch, tg3_tso_bug() would only be used on devices supporting
NETIF_F_TSO.

A regression was introduced for IPv6 packets requiring the workaround.
To properly perform GSO on SKBs with TCPV6 gso_type, we need to call
skb_gso_segment() with NETIF_F_TSO6 feature flag cleared, or the
function will return NULL and cause a kernel oops as tg3 is not handling
a NULL return value. This patch fixes the problem.

Signed-off-by: Prashant Sreedharan <prashant@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-06-19 20:55:49 -07:00
..
bnx2x Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2014-06-12 14:27:40 -07:00
genet net: bcmgenet: use the new fixed PHY helpers 2014-05-22 15:16:43 -04:00
Kconfig net: systemport: hook SYSTEMPORT driver in the build 2014-04-26 12:57:40 -04:00
Makefile net: systemport: hook SYSTEMPORT driver in the build 2014-04-26 12:57:40 -04:00
b44.c net: get rid of SET_ETHTOOL_OPS 2014-05-13 17:43:20 -04:00
b44.h b44: use fixed PHY device if we do not find any 2013-12-20 20:48:49 -05:00
bcm63xx_enet.c net: get rid of SET_ETHTOOL_OPS 2014-05-13 17:43:20 -04:00
bcm63xx_enet.h bcm63xx_enet: add support Broadcom BCM6345 Ethernet 2013-06-13 17:22:08 -07:00
bcmsysport.c net: systemport: start with carrier off 2014-06-05 15:36:54 -07:00
bcmsysport.h drivers/net: fix broadcom/bcmsysport.c compile fail on SPARC 2014-06-02 16:45:34 -07:00
bgmac.c net: get rid of SET_ETHTOOL_OPS 2014-05-13 17:43:20 -04:00
bgmac.h bgmac: add support for Northstar SoC (BCM4707, BCM53018) 2014-01-04 20:25:20 -05:00
bnx2.c net: use SPEED_UNKNOWN and DUPLEX_UNKNOWN when appropriate 2014-06-06 16:24:07 -07:00
bnx2.h bnx2: Fix shutdown sequence 2014-03-09 19:02:27 -04:00
bnx2_fw.h
cnic.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2014-06-12 14:27:40 -07:00
cnic.h cnic: Update version to 2.5.20 and copyright year. 2014-03-18 16:02:16 -04:00
cnic_defs.h cnic: Update version to 2.5.20 and copyright year. 2014-03-18 16:02:16 -04:00
cnic_if.h cnic: Update version to 2.5.20 and copyright year. 2014-03-18 16:02:16 -04:00
sb1250-mac.c drivers/net: delete non-required instances of include <linux/init.h> 2014-01-16 11:53:26 -08:00
tg3.c tg3: Clear NETIF_F_TSO6 flag before doing software GSO 2014-06-19 20:55:49 -07:00
tg3.h tg3: Update copyright and version to 3.137 2014-05-13 18:38:51 -04:00