mbox series

[net,0/6] mlxsw fixes

Message ID 20200729092648.2055488-1-idosch@idosch.org
Headers show
Series mlxsw fixes | expand

Message

Ido Schimmel July 29, 2020, 9:26 a.m. UTC
From: Ido Schimmel <idosch@mellanox.com>

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(-)

Comments

David Miller July 29, 2020, 7:16 p.m. UTC | #1
From: Ido Schimmel <idosch@idosch.org>
Date: Wed, 29 Jul 2020 12:26:42 +0300

> From: Ido Schimmel <idosch@mellanox.com>
> 
> 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.

Series applied, thank you.