summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorAleksandr Mishin <amishin@t-argos.ru>2024-06-04 13:05:52 +0300
committerJakub Kicinski <kuba@kernel.org>2024-06-05 12:51:25 -0700
commit229bedbf62b13af5aba6525ad10b62ad38d9ccb5 (patch)
tree9e85156e782279ca98a3382b9abe0bf79f107cd1 /net
parentf8f0de9d58d956884eb9b7a18266ac750412e777 (diff)
net/mlx5: Fix tainted pointer delete is case of flow rules creation fail
In case of flow rule creation fail in mlx5_lag_create_port_sel_table(), instead of previously created rules, the tainted pointer is deleted deveral times. Fix this bug by using correct flow rules pointers. Found by Linux Verification Center (linuxtesting.org) with SVACE. Fixes: 352899f384d4 ("net/mlx5: Lag, use buckets in hash mode") Signed-off-by: Aleksandr Mishin <amishin@t-argos.ru> Reviewed-by: Jacob Keller <jacob.e.keller@intel.com> Reviewed-by: Tariq Toukan <tariqt@nvidia.com> Link: https://lore.kernel.org/r/20240604100552.25201-1-amishin@t-argos.ru Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions