Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 864c4e45 authored by Auke Kok's avatar Auke Kok Committed by Auke Kok
Browse files

e1000: recycle skb



Recycle an skb to improve performance a bit.

Signed-off-by: default avatarJesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: default avatarAuke Kok <auke-jan.h.kok@intel.com>
parent a5eafce2
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -3604,7 +3604,8 @@ e1000_clean_rx_irq(struct e1000_adapter *adapter,
			/* All receives must fit into a single buffer */
			/* All receives must fit into a single buffer */
			E1000_DBG("%s: Receive packet consumed multiple"
			E1000_DBG("%s: Receive packet consumed multiple"
				  " buffers\n", netdev->name);
				  " buffers\n", netdev->name);
			dev_kfree_skb_irq(skb);
			/* recycle */
			buffer_info-> skb = skb;
			goto next_desc;
			goto next_desc;
		}
		}