diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2009-06-09 22:55:53 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-06-11 02:47:12 -0700 |
commit | 87433bfc75f34599c38137e172b6bf8fd41971ba (patch) | |
tree | 3398596509adbfefccdf180deb8a9784e1b66179 | |
parent | e762cd70efad6b6236b084ff7e5ce54a5f524320 (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>
-rw-r--r-- | drivers/net/r8169.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/r8169.c b/drivers/net/r8169.c index e94316b7868..007c881896d 100644 --- a/drivers/net/r8169.c +++ b/drivers/net/r8169.c @@ -3379,7 +3379,7 @@ static void rtl8169_tx_interrupt(struct net_device *dev, rtl8169_unmap_tx_skb(tp->pci_dev, tx_skb, tp->TxDescArray + entry); if (status & LastFrag) { - dev_kfree_skb_irq(tx_skb->skb); + dev_kfree_skb(tx_skb->skb); tx_skb->skb = NULL; } dirty_tx++; |