Commit 400de2c0 authored by Denis Vlasenko's avatar Denis Vlasenko Committed by Jeff Garzik

[PATCH] fealnx.c calls dev_kfree_skb from atomic context

Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
parent 1cc68ae0
...@@ -1423,8 +1423,7 @@ static void reset_tx_descriptors(struct net_device *dev) ...@@ -1423,8 +1423,7 @@ static void reset_tx_descriptors(struct net_device *dev)
if (cur->skbuff) { if (cur->skbuff) {
pci_unmap_single(np->pci_dev, cur->buffer, pci_unmap_single(np->pci_dev, cur->buffer,
cur->skbuff->len, PCI_DMA_TODEVICE); cur->skbuff->len, PCI_DMA_TODEVICE);
dev_kfree_skb(cur->skbuff); dev_kfree_skb_any(cur->skbuff);
/* or dev_kfree_skb_irq(cur->skbuff); ? */
cur->skbuff = NULL; cur->skbuff = NULL;
} }
cur->status = 0; cur->status = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment