Skip to content

Commit

Permalink
[PATCH] fealnx.c calls dev_kfree_skb from atomic context
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Morton <akpm@osdl.org>
  • Loading branch information
Denis Vlasenko authored and Jeff Garzik committed Jun 26, 2005
1 parent 1cc68ae commit 400de2c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/net/fealnx.c
Original file line number Diff line number Diff line change
Expand Up @@ -1423,8 +1423,7 @@ static void reset_tx_descriptors(struct net_device *dev)
if (cur->skbuff) {
pci_unmap_single(np->pci_dev, cur->buffer,
cur->skbuff->len, PCI_DMA_TODEVICE);
dev_kfree_skb(cur->skbuff);
/* or dev_kfree_skb_irq(cur->skbuff); ? */
dev_kfree_skb_any(cur->skbuff);
cur->skbuff = NULL;
}
cur->status = 0;
Expand Down

0 comments on commit 400de2c

Please sign in to comment.