提交 caa06b61 编写于 作者: G Graham Gower 提交者: John W. Linville

[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: NGraham Gower <graham.gower@gmail.com>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 4a8e4a27
......@@ -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;
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册