diff options
author | Lorenzo Bianconi <lorenzo@kernel.org> | 2025-02-13 16:34:20 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-02-14 13:35:38 -0800 |
commit | c6287e1a858e336cc202b484c6138a0fe252c6b3 (patch) | |
tree | 8eb95c3fde475b33fd5dcbb4b3ba873ca99bd85b /net/ipv6/tcp_ipv6.c | |
parent | 4671bb1a6b2bfa3ca71b7063748d9f7d65fd0f7d (diff) |
net: airoha: Fix TSO support for header cloned skbs
For GSO packets, skb_cow_head() will reallocate the skb for TSO header
cloned skbs in airoha_dev_xmit(). For this reason, sinfo pointer can be
no more valid. Fix the issue relying on skb_shinfo() macro directly in
airoha_dev_xmit().
The problem exists since
commit 23020f049327 ("net: airoha: Introduce ethernet support for EN7581 SoC")
but it is not a user visible, since we can't currently enable TSO
for DSA user ports since we are missing to initialize net_device
vlan_features field.
Reviewed-by: Mateusz Polchlopek <mateusz.polchlopek@intel.com>
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Link: https://patch.msgid.link/20250213-airoha-en7581-flowtable-offload-v4-1-b69ca16d74db@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/ipv6/tcp_ipv6.c')
0 files changed, 0 insertions, 0 deletions