diff options
author | Simon Horman <horms@kernel.org> | 2024-06-17 17:50:26 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-06-19 12:08:24 +0100 |
commit | b95a4afe2defd6f46891985f9436a568cd35a31c (patch) | |
tree | 1f05e7d2f85a3f943487c9eb07bb764a4763c835 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 16be004e941d82add77ebe4a20971d5ee3183b33 (diff) |
octeontx2-pf: Add error handling to VLAN unoffload handling
otx2_sq_append_skb makes used of __vlan_hwaccel_push_inside()
to unoffload VLANs - push them from skb meta data into skb data.
However, it omitts a check for __vlan_hwaccel_push_inside()
returning NULL.
Found by inspection based on [1] and [2].
Compile tested only.
[1] Re: [PATCH net-next v1] net: stmmac: Enable TSO on VLANs
https://lore.kernel.org/all/ZmrN2W8Fye450TKs@shell.armlinux.org.uk/
[2] Re: [PATCH net-next v2] net: stmmac: Enable TSO on VLANs
https://lore.kernel.org/all/CANn89i+11L5=tKsa7V7Aeyxaj6nYGRwy35PAbCRYJ73G+b25sg@mail.gmail.com/
Fixes: fd9d7859db6c ("octeontx2-pf: Implement ingress/egress VLAN offload")
Signed-off-by: Simon Horman <horms@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions