netxen: Fix vhdr_len in case of non vlan packets.
authorRajesh Borundia <rajesh.borundia@qlogic.com>
Mon, 19 Sep 2011 08:49:51 +0000 (08:49 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Sep 2011 18:57:15 +0000 (14:57 -0400)
commita7ffa289445edf73c7797eac1dfa645a9784015a
tree3006fbafa45dc3d507bf886cda0631992c597707
parentd24f22f3df9ac3f3af95e850df0b576d41bd3cfe
netxen: Fix vhdr_len in case of non vlan packets.

o Set vlan header length to zero.

Signed-off-by: Rajesh Borundia <rajesh.borundia@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c