mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-09 06:33:34 +00:00
[PATCH] fealnx.c calls dev_kfree_skb from atomic context
Signed-off-by: Andrew Morton <akpm@osdl.org>
This commit is contained in:
parent
1cc68ae0cf
commit
400de2c0c4
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user