From: Ron Mercer Date: Thu, 1 Mar 2007 00:42:17 +0000 (-0800) Subject: qla3xxx: bugfix for line omitted in previous patch. X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=63f779261f9aa16a0196c51092bedfdd32493f9d;p=linux-beck.git qla3xxx: bugfix for line omitted in previous patch. This missing line caused transmit errors on the Qlogic 4032 chip. Signed-off-by: Ron Mercer Signed-off-by: Jeff Garzik --- diff --git a/drivers/net/qla3xxx.c b/drivers/net/qla3xxx.c index 3a14d19b72bd..d3f65dab306c 100755 --- a/drivers/net/qla3xxx.c +++ b/drivers/net/qla3xxx.c @@ -2210,7 +2210,7 @@ static int ql_send_map(struct ql3_adapter *qdev, { struct oal *oal; struct oal_entry *oal_entry; - int len = skb->len; + int len = skb_headlen(skb); dma_addr_t map; int err; int completed_segs, i;