mbox series

[0/3] Fix prestera driver fail to probe twice

Message ID 20240311135112.2642491-1-enachman@marvell.com (mailing list archive)
Headers show
Series Fix prestera driver fail to probe twice | expand

Message

Elad Nachman March 11, 2024, 1:51 p.m. UTC
From: Elad Nachman <enachman@marvell.com>

Fix issues resulting from insmod, rmmod and insmod of the
prestera driver:

1. Time-out
2. memory referencing after freeing
3. MAC addresses wrapping

Elad Nachman (3):
  net: marvell: prestera: fix driver reload
  net: marvell: prestera: fix memory use after free
  net: marvell: prestera: force good base mac

 drivers/net/ethernet/marvell/prestera/prestera_hw.c       | 8 ++++++++
 drivers/net/ethernet/marvell/prestera/prestera_hw.h       | 1 +
 drivers/net/ethernet/marvell/prestera/prestera_main.c     | 7 +++++--
 drivers/net/ethernet/marvell/prestera/prestera_pci.c      | 7 ++++++-
 drivers/net/ethernet/marvell/prestera/prestera_router.c   | 1 -
 .../net/ethernet/marvell/prestera/prestera_router_hw.c    | 1 -
 6 files changed, 20 insertions(+), 5 deletions(-)