projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e762cd7
)
r8169: use dev_kfree_skb() instead of dev_kfree_skb_irq()
author
Eric Dumazet
<eric.dumazet@gmail.com>
Tue, 9 Jun 2009 22:55:53 +0000
(22:55 +0000)
committer
David S. Miller
<davem@davemloft.net>
Thu, 11 Jun 2009 09:47:12 +0000
(
02:47
-0700)
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>
drivers/net/r8169.c
patch
|
blob
|
history
diff --git
a/drivers/net/r8169.c
b/drivers/net/r8169.c
index e94316b7868bdc26b4b7dd4f42ac0ce9a45384da..007c881896d22a41535229346aa71f83f6d1d76c 100644
(file)
--- 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++;