mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-10 22:54:11 +08:00
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:
parent
d24f22f3df
commit
a7ffa28944
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user