aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2009-06-09 18:55:53 -0400
committerDavid S. Miller <davem@davemloft.net>2009-06-11 05:47:12 -0400
commit87433bfc75f34599c38137e172b6bf8fd41971ba (patch)
tree3398596509adbfefccdf180deb8a9784e1b66179 /drivers
parente762cd70efad6b6236b084ff7e5ce54a5f524320 (diff)
r8169: use dev_kfree_skb() instead of dev_kfree_skb_irq()
rtl8169_tx_interrupt() is used from NAPI context, it can directly free skbs. dev_kfree_skb_irq() is a leftover from pre-NAPI times of this driver. Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/r8169.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/r8169.c b/drivers/net/r8169.c
index e94316b7868b..007c881896d2 100644
--- a/drivers/net/r8169.c
+++ b/drivers/net/r8169.c
@@ -3379,7 +3379,7 @@ static void rtl8169_tx_interrupt(struct net_device *dev,
3379 rtl8169_unmap_tx_skb(tp->pci_dev, tx_skb, tp->TxDescArray + entry); 3379 rtl8169_unmap_tx_skb(tp->pci_dev, tx_skb, tp->TxDescArray + entry);
3380 3380
3381 if (status & LastFrag) { 3381 if (status & LastFrag) {
3382 dev_kfree_skb_irq(tx_skb->skb); 3382 dev_kfree_skb(tx_skb->skb);
3383 tx_skb->skb = NULL; 3383 tx_skb->skb = NULL;
3384 } 3384 }
3385 dirty_tx++; 3385 dirty_tx++;