diff options
| author | 2026-05-06 01:00:31 +0100 | |
|---|---|---|
| committer | 2026-05-25 08:36:08 -0700 | |
| commit | 86f1d0f063e423a5c1982db1e5e7a8eac511e603 (patch) | |
| tree | 69f87659357e91b00d575dad5f868826cdce3a19 /include/linux/bcma/ssh:/git@git.zx2c4.com | |
| parent | ipv4: free net->ipv4.sysctl_local_reserved_ports after unregister_net_sysctl_table() (diff) | |
net/mlx5: HWS: Reject unsupported remove-header action
mlx5_cmd_hws_packet_reformat_alloc() handles
MLX5_REFORMAT_TYPE_REMOVE_HDR by looking up a matching HWS remove-header
action.
If mlx5_fs_get_action_remove_header_vlan() returns NULL, the code only
logs an error and continues. The function then returns success with a NULL
HWS action stored in the packet-reformat object.
Return an error when no matching remove-header action is available.
Fixes: aecd9d1020e3 ("net/mlx5: fs, add HWS packet reformat API function")
Signed-off-by: Prathamesh Deshpande <prathameshdeshpande7@gmail.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Reviewed-by: Yevgeny Kliteynik <kliteyn@nvidia.com>
Acked-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/20260506000054.51797-1-prathameshdeshpande7@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/bcma/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
