]> err.no Git - linux-2.6/commitdiff
[PATCH] fealnx.c calls dev_kfree_skb from atomic context
authorDenis Vlasenko <vda@ilport.com.ua>
Mon, 20 Jun 2005 22:33:04 +0000 (15:33 -0700)
committerJeff Garzik <jgarzik@pobox.com>
Sun, 26 Jun 2005 22:37:26 +0000 (18:37 -0400)
Signed-off-by: Andrew Morton <akpm@osdl.org>
drivers/net/fealnx.c

index d05e9dd1e14011a99df9f4d77955512a1dc561c4..9e0303f6d73c5dcaf5b8473b39daf1299e630949 100644 (file)
@@ -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;