net/mlx5: LAG bug fixes
Status from this message: This series was applied to netdev/net.git (main)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 0 repliesApplied 3/3
- v13 patches 3 repliesSuperseded
Changes in v2 from the cover letter
- Rebase.
- Patch 3: simplify to a single 'continue' on seq lookup failure.
Patches in v2 All 3 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | net/mlx5: LAG, Fix off-by-one in single-FDB error rollbackdrivers/ | +1 | 0 replies | Applied |
| 2/3 | net/mlx5: LAG, MPESW, Fix missing complete() on devcom errordrivers/ | +5 | 0 replies | Applied |
| 3/3 | net/mlx5e: TC, skip peer flow cleanup when LAG seq is unavailabledrivers/ | +3 | 0 replies | Applied |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Mark Bloch |
|---|---|
| 1/3 | R-b |
| 2/3 | R-b |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net V2 0/3] net/mlx5: LAG bug fixes
Hi,
Three bug fixes by Shay in the mlx5 LAG subsystem.
Patch 1 fixes an off-by-one in the error rollback path of mlx5_lag_create_single_fdb_filter(): the loop started from the failed index i, potentially operating on uninitialized state or double-tearing-down an entry that had already self-rolled-back. The rollback should start from i - 1.
Patch 2 fixes a hang in mlx5_mpesw_work(): when mlx5_lag_get_devcom_comp() returns NULL the function returned early without calling complete(), blocking any caller waiting on mpesww->comp indefinitely.
Patch 3 fixes a kernel crash during teardown when mlx5_lag_get_dev_seq() returns an error because no device is marked as master or the peer is no longer in the LAG. The peer flow cleanup is now skipped instead of proceeding with a bad pointer.
This series by Shay fixes three bugs in the mlx5 LAG subsystem.
Regards,
Tariq
V2:
- Rebase.
- Patch 3: simplify to a single 'continue' on seq lookup failure.
V1:
https://lore.kernel.org/all/[email protected]/
Find replies to previous Sashiko comments here:
https://lore.kernel.org/all/[email protected]/
Shay Drory (3):
net/mlx5: LAG, Fix off-by-one in single-FDB error rollback net/mlx5: LAG, MPESW, Fix missing complete() on devcom error net/mlx5e: TC, skip peer flow cleanup when LAG seq is unavailable
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c | 3 +++ drivers/net/ethernet/mellanox/mlx5/core/lag/mpesw.c | 7 +++++-- drivers/net/ethernet/mellanox/mlx5/core/lag/shared_fdb.c | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-)
base-commit: dbf803bc4a8b0522c9a12560c20905a5952d1cb9
Signature · 1 line
2.44.0