summaryrefslogtreecommitdiff
path: root/rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git
diff options
context:
space:
mode:
authorShay Drory <shayd@nvidia.com>2026-06-30 14:29:15 +0300
committerPaolo Abeni <pabeni@redhat.com>2026-07-03 18:39:02 +0200
commit0f0e4ae6975c773f7854fc48932a267f6c79088f (patch)
tree0ef7de90055457557b4e522a95941e4b48e29d43 /rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git
parent539dfcf69105d8d3d4d677b71de6e5ede2e6dfa0 (diff)
net/mlx5: LAG, Fix off-by-one in single-FDB error rollback
On failure at index i, the reverse cleanup loop in mlx5_lag_create_single_fdb() starts from i, so the failed index itself is rolled back. That can operate on uninitialized state or double-tear-down a rule the add_one path already self-rolled-back. Start the rollback from i - 1 so only successfully-installed entries are undone. Fixes: ddbb5ddc43ad ("net/mlx5: LAG, Refactor lag logic") Signed-off-by: Shay Drory <shayd@nvidia.com> Reviewed-by: Mark Bloch <mbloch@nvidia.com> Signed-off-by: Tariq Toukan <tariqt@nvidia.com> Link: https://patch.msgid.link/20260630112917.698313-2-tariqt@nvidia.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions