Skip to content

net/mlx5: Fix UAF in mlx5_eswitch_cleanup()

Saeed Mahameed netdev 2 versions – Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest15 patches 0 repliesApplied 15/15
  2. v115 patches 2 repliesSuperseded

Patches in v2 All 15 applied

#Subject and filesSizeRepliesApplied
1/15net/mlx5: Fix UAF in mlx5_eswitch_cleanup()drivers/net/ethernet/mellanox/mlx5/core/eswitch.c+8 -100 repliesApplied
2/15net/mlx5: Fix SFs kernel documentation errorDocumentation/networking/device_drivers/ethernet/mellanox/mlx5/switchdev.rst+12 -100 repliesApplied
3/15net/mlx5: Fix reserved at offset in hca_cap registerinclude/linux/mlx5/mlx5_ifc.h+2 -20 repliesApplied
4/15net/mlx5: Fix error code in mlx5_is_reset_now_capable()drivers/net/ethernet/mellanox/mlx5/core/fw_reset.c+1 -10 repliesApplied
5/15net/mlx5: Lag, Remove duplicate code checking lag is supporteddrivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c drivers/net/ethernet/mellanox/mlx5/core/lag/lag.c drivers/net/ethernet/mellanox/mlx5/core/lag/lag.h+14 -150 repliesApplied
6/15net/mlx5e: Use vhca_id for device index in vport rx rulesdrivers/net/ethernet/mellanox/mlx5/core/en_rep.c+3 -30 repliesApplied
7/15net/mlx5e: E-Switch, Add peer fdb miss rules for vport manager or ecpfdrivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c+9 -10 repliesApplied
8/15net/mlx5e: E-Switch, Use xarray for devcom paired device indexdrivers/net/ethernet/mellanox/mlx5/core/eswitch.h drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c+25 -70 repliesApplied
9/15net/mlx5e: E-Switch, Pass other_vport flag if vport is not 0drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c+6 -30 repliesApplied
10/15net/mlx5e: Remove redundant commentdrivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c+0 -10 repliesApplied
11/15net/mlx5e: E-Switch, Fix shared fdb error flowdrivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c+4 -00 repliesApplied
12/15net/mlx5: Remove redundant MLX5_ESWITCH_MANAGER() check from is_ib_rep_supported()drivers/net/ethernet/mellanox/mlx5/core/dev.c+0 -30 repliesApplied
13/15net/mlx5: Remove redundant is_mdev_switchdev_mode() check from is_ib_rep_supported()drivers/net/ethernet/mellanox/mlx5/core/dev.c+0 -30 repliesApplied
14/15net/mlx5: Remove redundant check from mlx5_esw_query_vport_vhca_id()drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c+0 -30 repliesApplied
15/15net/mlx5: Remove pointless vport lookup from mlx5_esw_check_port_type()drivers/net/ethernet/mellanox/mlx5/core/eswitch.c+0 -60 repliesApplied

Reviews trailers per patch

All 15 patches have a Reviewed-by or Acked-by.

PatchAutomatic VerificationGal PressmanMoshe ShemeshRahul RameshbabuTariq ToukanKalesh APShay Drory
1/15R-b R-b R-b
2/15R-b R-b R-b R-b
3/15R-b R-b
4/15R-b
5/15R-b
6/15R-b
7/15R-b
8/15R-b
9/15R-b
10/15R-b
11/15R-b
12/15R-b
13/15R-b
14/15R-b
15/15R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 7 reviewers.

Read the v2 thread