]> err.no Git - linux-2.6/commitdiff
qla3xxx: bugfix for line omitted in previous patch.
authorRon Mercer <ron.mercer@qlogic.com>
Thu, 1 Mar 2007 00:42:17 +0000 (16:42 -0800)
committerJeff Garzik <jeff@garzik.org>
Sat, 3 Mar 2007 01:16:10 +0000 (20:16 -0500)
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 3a14d19b72bddf4a085d901e0dab654e30140a5f..d3f65dab306c88568b0ce0900a651bfe5874a070 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;