qla3xxx: bugfix for line omitted in previous patch.
Ron Mercer [Thu, 1 Mar 2007 00:42:17 +0000 (16:42 -0800)]
This missing line caused transmit errors on the Qlogic 4032 chip.

Signed-off-by: Ron Mercer <ron.mercer@qlogic.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>

drivers/net/qla3xxx.c

index 3a14d19..d3f65da 100755 (executable)
@@ -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;