[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1316458192-8691-2-git-send-email-rajesh.borundia@qlogic.com>
Date: Mon, 19 Sep 2011 11:49:51 -0700
From: Rajesh Borundia <rajesh.borundia@...gic.com>
To: David Miller <davem@...emloft.net>
CC: netdev <netdev@...r.kernel.org>,
Ameen Rahman <ameen.rahman@...gic.com>,
Sony Chacko <sony.chacko@...gic.com>
Subject: [PATCH net-next 1/2] netxen: Fix vhdr_len in case of non vlan packets.
o Set vlan header length to zero.
Signed-off-by: Rajesh Borundia <rajesh.borundia@...gic.com>
---
.../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 d6c6357..a8259cc 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,
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;
--
1.6.3.3
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists