Skip to content

mlxsw fixes

Ido Schimmel netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6mlxsw: spectrum_router: Allow programming link-local host routesdrivers/net/ethernet/mellanox/mlxsw/spectrum_router.c+0 -90 replies
2/6mlxsw: spectrum: Use different trap group for externally routed packetsDocumentation/networking/devlink/devlink-trap.rst drivers/net/ethernet/mellanox/mlxsw/reg.h drivers/net/ethernet/mellanox/mlxsw/spectrum_trap.c +2 more+20 -30 replies
3/6mlxsw: core: Increase scope of RCU read-side critical sectiondrivers/net/ethernet/mellanox/mlxsw/core.c+4 -20 replies
4/6mlxsw: core: Free EMAD transactions using kfree_rcu()drivers/net/ethernet/mellanox/mlxsw/core.c+1 -10 replies
5/6mlxsw: spectrum_router: Fix use-after-free in router init / de-initdrivers/net/ethernet/mellanox/mlxsw/spectrum_router.c+26 -240 replies
6/6selftests: ethtool: Fix test when only two speeds are supportedtools/testing/selftests/net/forwarding/ethtool.sh+0 -20 replies

Reviews trailers per patch

5 of 6 patches have a Reviewed-by or Acked-by.

PatchAlex VeberJiri Pirko
1/6T-b R-b
2/6T-b R-b
3/6R-b
4/6R-b
5/6R-b
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net 0/6] mlxsw fixes

From: Ido Schimmel <[email protected]>

This patch set contains various fixes for mlxsw.

Patches #1-#2 fix two trap related issues introduced in previous cycle.

Patches #3-#5 fix rare use-after-frees discovered by syzkaller. After over a week of fuzzing with the fixes, the bugs did not reproduce.

Patch #6 from Amit fixes an issue in the ethtool selftest that was recently discovered after running the test on a new platform that supports only 1Gbps and 10Gbps speeds.

Amit Cohen (1):
selftests: ethtool: Fix test when only two speeds are supported

Ido Schimmel (5):
mlxsw: spectrum_router: Allow programming link-local host routes
mlxsw: spectrum: Use different trap group for externally routed
packets
mlxsw: core: Increase scope of RCU read-side critical section
mlxsw: core: Free EMAD transactions using kfree_rcu()
mlxsw: spectrum_router: Fix use-after-free in router init / de-init

 .../networking/devlink/devlink-trap.rst       |  4 ++
 drivers/net/ethernet/mellanox/mlxsw/core.c    |  8 ++-
 drivers/net/ethernet/mellanox/mlxsw/reg.h     |  1 +
 .../ethernet/mellanox/mlxsw/spectrum_router.c | 59 ++++++++-----------
 .../ethernet/mellanox/mlxsw/spectrum_trap.c   | 14 ++++-
 include/net/devlink.h                         |  3 +
 net/core/devlink.c                            |  1 +
 .../selftests/net/forwarding/ethtool.sh       |  2 -
 8 files changed, 51 insertions(+), 41 deletions(-)
Signature · 1 line
2.26.2