summaryrefslogtreecommitdiff
path: root/include/linux/stackprotector.h
diff options
context:
space:
mode:
authorCarolina Jubran <cjubran@nvidia.com>2026-03-05 17:26:31 +0300
committerJakub Kicinski <kuba@kernel.org>2026-03-07 04:25:39 +0300
commit76324e4041c0efb4808702b05426d7a0a7d8df5b (patch)
tree45f9371b4f9d96ef4419aeec55d1f492e0b320e9 /include/linux/stackprotector.h
parent24b2795f9683e092dc22a68f487e7aaaf2ddafea (diff)
downloadlinux-76324e4041c0efb4808702b05426d7a0a7d8df5b.tar.xz
net/mlx5: Fix peer miss rules host disabled checks
The check on mlx5_esw_host_functions_enabled(esw->dev) for adding VF peer miss rules is incorrect. These rules match traffic from peer's VFs, so the local device's host function status is irrelevant. Remove this check to ensure peer VF traffic is properly handled regardless of local host configuration. Also fix the PF peer miss rule deletion to be symmetric with the add path, so only attempt to delete the rule if it was actually created. Fixes: 520369ef43a8 ("net/mlx5: Support disabling host PFs") Signed-off-by: Carolina Jubran <cjubran@nvidia.com> Signed-off-by: Tariq Toukan <tariqt@nvidia.com> Link: https://patch.msgid.link/20260305142634.1813208-3-tariqt@nvidia.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions