Skip to content

Commit

Permalink
[PATCH] prism54/islpci_eth.c: dev_kfree_skb used with interrupts disa…
Browse files Browse the repository at this point in the history
…bled

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>
  • Loading branch information
Graham Gower authored and John W. Linville committed Jan 16, 2006
1 parent 4a8e4a2 commit caa06b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wireless/prism54/islpci_eth.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit caa06b6

Please sign in to comment.