From: Alexander Duyck Date: Tue, 23 Mar 2010 18:35:18 +0000 (+0000) Subject: igb: only use vlan_gro_receive if vlans are registered X-Git-Tag: v2.6.34-rc3~33^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=31b24b955c3ebbb6f3008a6374e61cf7c05a193c;p=pandora-kernel.git 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 Signed-off-by: Jeff Kirsher Acked-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed