From: Eric Dumazet Date: Tue, 9 Jun 2009 22:55:53 +0000 (+0000) Subject: r8169: use dev_kfree_skb() instead of dev_kfree_skb_irq() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=87433bfc75f34599c38137e172b6bf8fd41971ba;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git 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 Signed-off-by: David S. Miller --- 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, 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++;