qlcnic: fix panic while using eth_hdr
authorRajesh Borundia <rajesh.borundia@qlogic.com>
Tue, 31 Aug 2010 17:17:49 +0000 (17:17 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 Sep 2010 17:41:56 +0000 (10:41 -0700)
commitdcb50afff747d15fc2ffff762c08c325e4c229e5
tree374b6c5d42c9ce065c7c6082cd5e62a2726bca99
parent7613c87b2d805acf7c882935d47aa84d1947656f
qlcnic: fix panic while using eth_hdr

o skb->mac_header is not set, so machine panics while using function eth_hdr.

Signed-off-by: Rajesh Borundia <rajesh.borundia@qlogic.com>
Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/qlcnic/qlcnic_main.c