提交 a7ffa289 编写于 作者: R Rajesh Borundia 提交者: David S. Miller

netxen: Fix vhdr_len in case of non vlan packets.

o Set vlan header length to zero.
Signed-off-by: NRajesh Borundia <rajesh.borundia@qlogic.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 d24f22f3
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册