mirror of
https://github.com/torvalds/linux.git
synced 2026-11-24 07:22:34 +00:00
The netif_receive_skb() function frees "skb" so store skb->len before
it is freed.
Fixes: fd3040b939 ("net: ethernet: Add driver for Sunplus SP7021")
Signed-off-by: Dan Carpenter <[email protected]>
Link: https://lore.kernel.org/r/YoUuy4iTjFAcSn03@kili
Signed-off-by: Jakub Kicinski <[email protected]>