]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'mlxsw-various-fixes'
authorJakub Kicinski <kuba@kernel.org>
Mon, 26 Oct 2020 23:45:53 +0000 (16:45 -0700)
committerJakub Kicinski <kuba@kernel.org>
Mon, 26 Oct 2020 23:45:53 +0000 (16:45 -0700)
commit310aa41bf3120e02d994d58825ec12e26122cc29
tree1f2c45c147a6931b460a98552b1205fde37943b1
parentb95c3bc7fe4905cfbb0f7fa484df5478bf3e132b
parent387a00413273cc0fed1dd75e6af61f450a254565
Merge branch 'mlxsw-various-fixes'

Ido Schimmel says:

====================
mlxsw: Various fixes

This patch set contains various fixes for mlxsw.

Patch #1 ensures that only link modes that are supported by both the
device and the driver are advertised. When a link mode that is not
supported by the driver is negotiated by the device, it will be
presented as an unknown speed by ethtool, causing the bond driver to
wrongly assume that the link is down.

Patch #2 fixes a trivial memory leak upon module removal.

Patch #3 fixes a use-after-free that syzkaller was able to trigger once
on a slow emulator after a few months of fuzzing.
====================

Link: https://lore.kernel.org/r/20201024133733.2107509-1-idosch@idosch.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>