[PATCH] prism54/islpci_eth.c: dev_kfree_skb used with interrupts disabled

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>
This commit is contained in:
Graham Gower 2006-01-16 16:41:37 -05:00 committed by John W. Linville
parent 4a8e4a270b
commit caa06b619f

View 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;
}
}