Archived
14
0
Fork 0

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>
This commit is contained in:
Rajesh Borundia 2011-09-19 08:49:51 +00:00 committed by David S. Miller
parent d24f22f3df
commit a7ffa28944

View file

@ -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;