diff options
author | Rajesh Borundia <rajesh.borundia@qlogic.com> | 2011-09-19 04:49:51 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-09-20 14:57:15 -0400 |
commit | a7ffa289445edf73c7797eac1dfa645a9784015a (patch) | |
tree | 3006fbafa45dc3d507bf886cda0631992c597707 /drivers/net/ethernet/qlogic | |
parent | d24f22f3df9ac3f3af95e850df0b576d41bd3cfe (diff) |
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>
Diffstat (limited to 'drivers/net/ethernet/qlogic')
-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, | |||
1620 | int index; | 1620 | int index; |
1621 | u16 lro_length, length, data_offset; | 1621 | u16 lro_length, length, data_offset; |
1622 | u32 seq_number; | 1622 | u32 seq_number; |
1623 | u8 vhdr_len; | 1623 | u8 vhdr_len = 0; |
1624 | 1624 | ||
1625 | if (unlikely(ring > adapter->max_rds_rings)) | 1625 | if (unlikely(ring > adapter->max_rds_rings)) |
1626 | return NULL; | 1626 | return NULL; |