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

Commit 1cb5821f authored by Auke Kok's avatar Auke Kok Committed by Auke Kok
Browse files

e1000: fix mismerge skb_put.



Seems there was a bit of a fix needed to due a bad merge in the legacy
receive path.  Fixes a panic due to skb_over_panic.

Signed-off-by: default avatarJesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: default avatarAuke Kok <auke-jan.h.kok@intel.com>
parent dc86d32a
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -3585,8 +3585,7 @@ e1000_clean_rx_irq(struct e1000_adapter *adapter,
				buffer_info->skb = skb;
				goto next_desc;
			}
		} else
			skb_put(skb, length);
		}

		/* code added for copybreak, this should improve
		 * performance for small packets with large amounts