diff options
| author | 2026-10-07 20:29:23 +0200 | |
|---|---|---|
| committer | 2026-10-14 13:01:56 -0700 | |
| commit | a7a89019bac0e8810bde7f1419f4adf9adc23d41 (patch) | |
| tree | b9a8f522cb0ebc60ee5ae16a30703c2388ae0507 /scripts/Makefile.thinlto | |
| parent | net: selftests: use skb_share_check() in the loopback receive hook (diff) | |
net: stmmac: selftests: use skb_share_check() in the loopback receive hook
The loopback hook gets a shared skb when another ETH_P_IP handler is
bound to the device. skb_unshare() does not unshare it, so
skb_linearize() on a non-linear frame hits BUG_ON(skb_shared()).
Use skb_share_check() instead.
Fixes: 091810dbded9 ("net: stmmac: Introduce selftests support")
Signed-off-by: Nicolai Buchwitz <nb@tipi-net.de>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20261007-nb-net-selftest-shared-net-v1-2-458369bfa1ba@tipi-net.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
