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
..
2010-03-15 16:00:47 -07:00
2010-03-06 11:26:28 -08:00
2010-03-22 16:33:31 +01:00
2010-03-17 14:22:07 -07:00
2010-03-14 20:08:38 -04:00
2010-03-12 15:52:43 -08:00
2010-03-07 22:17:08 +01:00
2010-03-14 20:28:39 -07:00
2010-03-17 18:43:47 -07:00
2010-03-07 17:04:51 -08:00
2010-03-06 11:26:28 -08:00