diff options
| author | 2026-10-07 20:29:24 +0200 | |
|---|---|---|
| committer | 2026-10-14 13:01:56 -0700 | |
| commit | 16fb7aa6955a0af9f67ca42a61d9be58dfc9382a (patch) | |
| tree | 9a0aed010911efa54626af27a50d8ff8f6b1a8e6 /scripts/Makefile.thinlto | |
| parent | net: stmmac: selftests: use skb_share_check() in the loopback receive hook (diff) | |
net/mlx5e: use skb_share_check() in the loopback selftest hook
The loopback hook gets a shared skb when another ETH_P_IP handler is
bound to the device. skb_linearize() on a non-linear frame then hits
BUG_ON(skb_shared()).
Call skb_share_check() before linearizing the skb.
Fixes: 95b9606b15bb ("net/mlx5: Extend Ethtool loopback selftest to support non-linear SKB")
Signed-off-by: Nicolai Buchwitz <nb@tipi-net.de>
Reviewed-by: Simon Horman <horms@kernel.org>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/20261007-nb-net-selftest-shared-net-v1-3-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
