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

Commit 641e9b73 authored by Eric W. Biederman's avatar Eric W. Biederman
Browse files

ksz884x: Call dev_consume_skb_any instead of dev_kfree_skb.



Replace dev_kfree_skb with dev_consume_skb_any in copy_old_skb that can
be called in hard irq and other contexts.

Signed-off-by: default avatar"Eric W. Biederman" <ebiederm@xmission.com>
parent 2d4186ce
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4832,7 +4832,7 @@ static inline void copy_old_skb(struct sk_buff *old, struct sk_buff *skb)
	skb->csum = old->csum;
	skb_set_network_header(skb, ETH_HLEN);

	dev_kfree_skb(old);
	dev_consume_skb_any(old);
}

/**