diff options
author | Rajesh Borundia <rajesh.borundia@qlogic.com> | 2011-09-19 08:49:51 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-09-20 14:57:15 -0400 |
commit | a7ffa289445edf73c7797eac1dfa645a9784015a (patch) | |
tree | 3006fbafa45dc3d507bf886cda0631992c597707 | |
parent | d24f22f3df9ac3f3af95e850df0b576d41bd3cfe (diff) | |
download | blackbird-op-linux-a7ffa289445edf73c7797eac1dfa645a9784015a.tar.gz blackbird-op-linux-a7ffa289445edf73c7797eac1dfa645a9784015a.zip |
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>
-rw-r--r-- | drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c b/drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c index d6c6357de6aa..a8259cc19a63 100644 --- a/drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c +++ b/drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c @@ -1620,7 +1620,7 @@ netxen_process_lro(struct netxen_adapter *adapter, int index; u16 lro_length, length, data_offset; u32 seq_number; - u8 vhdr_len; + u8 vhdr_len = 0; if (unlikely(ring > adapter->max_rds_rings)) return NULL; |