linux-uconsole/drivers/net/igb
Alexander Duyck 8edb98f38b igb: only use vlan_gro_receive if vlans are registered
commit 31b24b955c upstream.

This change makes it so that vlan_gro_receive is only used if vlans have been
registered to the adapter structure.  Previously we were just sending all vlan
tagged frames in via this function but this results in a null pointer
dereference when vlans are not registered.

[ This fixes bugzilla entry 15582 -Eric Dumazet]

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Acked-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-01-07 14:43:13 -08:00
..
e1000_82575.c igb: change how we handle alternate mac addresses 2010-08-02 10:20:44 -07:00
e1000_82575.h igb: reset sgmii phy at start of init 2009-09-14 17:03:49 -07:00
e1000_defines.h igb: reset sgmii phy at start of init 2009-09-14 17:03:49 -07:00
e1000_hw.h igb: change how we handle alternate mac addresses 2010-08-02 10:20:44 -07:00
e1000_mac.c igb: change how we handle alternate mac addresses 2010-08-02 10:20:44 -07:00
e1000_mac.h igb: resolve namespacecheck warning for igb_hash_mc_addr 2009-09-21 11:32:33 -07:00
e1000_mbx.c igb: reconfigure mailbox timeout logic 2009-04-28 01:53:12 -07:00
e1000_mbx.h igb: fix unused external references introduced with sr-iov changes 2009-04-11 02:55:12 -07:00
e1000_nvm.c igb: update version number and copyright dates 2009-02-07 02:43:17 -08:00
e1000_nvm.h
e1000_phy.c igb: do not allow phy sw reset code to make calls to null pointers 2009-09-14 17:03:54 -07:00
e1000_phy.h igb/e1000e: update PSSR_MDIX value to reflect correct bit 2009-05-26 20:35:06 -07:00
e1000_regs.h igb: add completion timeout workaround for 82575/82576 2009-07-26 09:46:49 -07:00
igb.h igb: set vf rlpml wasn't taking vlan tag into account 2009-09-03 20:01:50 -07:00
igb_ethtool.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 2009-10-29 09:22:08 -07:00
igb_main.c igb: only use vlan_gro_receive if vlans are registered 2011-01-07 14:43:13 -08:00
Makefile igb: Add support for enabling VFs to PF driver. 2009-02-20 00:22:54 -08:00