diff options
| author | 2026-10-07 20:29:22 +0200 | |
|---|---|---|
| committer | 2026-10-14 13:01:56 -0700 | |
| commit | fbd3a301b1378423a5cfc23a42e3c0b04e26192c (patch) | |
| tree | b728c893ca1d8483e403a257ee480f2b1ae9c6e2 /scripts/Makefile.thinlto | |
| parent | net: alacritech: fix dma_free_coherent() in error path (diff) | |
net: 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: 3e1e58d64c3d ("net: add generic selftest 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-1-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
