]> err.no Git - linux-2.6/commitdiff
[PATCH] prism54/islpci_eth.c: dev_kfree_skb used with interrupts disabled
authorGraham Gower <graham.gower@gmail.com>
Mon, 16 Jan 2006 21:41:37 +0000 (16:41 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 16 Jan 2006 21:51:53 +0000 (16:51 -0500)
dev_kfree_skb should not be used with interrupts disabled.  Change to
use dev_kfree_skb_irq instead.

Signed-off-by: Graham Gower <graham.gower@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/prism54/islpci_eth.c

index 33d64d2ee53f7397fb3b9db833a6e6a89611f1ee..a8261d8454dd54edff637a164439fc213a7e822a 100644 (file)
@@ -177,7 +177,7 @@ islpci_eth_transmit(struct sk_buff *skb, struct net_device *ndev)
 #endif
 
                        newskb->dev = skb->dev;
-                       dev_kfree_skb(skb);
+                       dev_kfree_skb_irq(skb);
                        skb = newskb;
                }
        }