Skip to content

Commit

Permalink
netxen: Fix vhdr_len in case of non vlan packets.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Rajesh Borundia authored and David S. Miller committed Sep 20, 2011
1 parent d24f22f commit a7ffa28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a7ffa28

Please sign in to comment.