diff options
author | Auke Kok <auke-jan.h.kok@intel.com> | 2006-06-27 12:06:53 -0400 |
---|---|---|
committer | Auke Kok <juke-jan.h.kok@intel.com> | 2006-06-27 12:06:53 -0400 |
commit | 864c4e45ec6d1bfe16a14d887d5baad201419aba (patch) | |
tree | 6908a76df95c8f771ae85842bbf3f9a476bf3690 /drivers/net/e1000 | |
parent | a5eafce2ce2fd3a1956657d85908ca691b870e5d (diff) |
e1000: recycle skb
Recycle an skb to improve performance a bit.
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
Diffstat (limited to 'drivers/net/e1000')
-rw-r--r-- | drivers/net/e1000/e1000_main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/e1000/e1000_main.c b/drivers/net/e1000/e1000_main.c index fc39cbcee2bc..c58fafd1c4be 100644 --- a/drivers/net/e1000/e1000_main.c +++ b/drivers/net/e1000/e1000_main.c | |||
@@ -3604,7 +3604,8 @@ e1000_clean_rx_irq(struct e1000_adapter *adapter, | |||
3604 | /* All receives must fit into a single buffer */ | 3604 | /* All receives must fit into a single buffer */ |
3605 | E1000_DBG("%s: Receive packet consumed multiple" | 3605 | E1000_DBG("%s: Receive packet consumed multiple" |
3606 | " buffers\n", netdev->name); | 3606 | " buffers\n", netdev->name); |
3607 | dev_kfree_skb_irq(skb); | 3607 | /* recycle */ |
3608 | buffer_info-> skb = skb; | ||
3608 | goto next_desc; | 3609 | goto next_desc; |
3609 | } | 3610 | } |
3610 | 3611 | ||