linux/drivers/net/igb
Alexander Duyck 31b24b955c igb: only use vlan_gro_receive if vlans are registered
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>
2010-03-23 23:19:57 -07:00
..
e1000_82575.c igb: Add support for 82576 ET2 Quad Port Server Adapter 2010-03-19 21:11:35 -07:00
e1000_82575.h igb: Power down link when interface is down 2010-02-17 13:21:33 -08:00
e1000_defines.h igb: remove adaptive IFS from driver 2010-02-17 13:21:34 -08:00
e1000_hw.h igb: Add support for 82576 ET2 Quad Port Server Adapter 2010-03-19 21:11:35 -07:00
e1000_mac.c igb: remove adaptive IFS from driver 2010-02-17 13:21:34 -08:00
e1000_mac.h igb: remove adaptive IFS from driver 2010-02-17 13:21:34 -08:00
e1000_mbx.c igb: fix a few items where weren't correctly setup for mbx timeout 2009-10-06 14:59:21 -07:00
e1000_mbx.h igb: rework use of VMOLR in regards to PF and VFs 2009-10-28 03:25:40 -07:00
e1000_nvm.c igb: remove microwire support from igb 2009-10-06 14:59:22 -07:00
e1000_nvm.h
e1000_phy.c igb: Power down link when interface is down 2010-02-17 13:21:33 -08:00
e1000_phy.h igb: Power down link when interface is down 2010-02-17 13:21:33 -08:00
e1000_regs.h igb: support for VF configuration tools 2010-02-12 16:56:09 -08:00
igb_ethtool.c igb: Allocate rings seperately instead of as a block 2010-02-17 13:21:34 -08:00
igb_main.c igb: only use vlan_gro_receive if vlans are registered 2010-03-23 23:19:57 -07:00
igb.h igb: do not modify tx_queue_len on link speed change 2010-03-23 23:19:57 -07:00
Makefile igb: Add support for enabling VFs to PF driver. 2009-02-20 00:22:54 -08:00