]> Git Repo - linux.git/commit
net: sparx5: mdb add/del handle non-sparx5 devices
authorCasper Andersson <[email protected]>
Thu, 30 Jun 2022 12:22:26 +0000 (14:22 +0200)
committerJakub Kicinski <[email protected]>
Thu, 30 Jun 2022 18:32:54 +0000 (11:32 -0700)
commit9c5de246c1dbe785268fc2e83c88624b92e4ec93
treefa4b8c52a657820624d37266f5d6ca62e65b0831
parent0a18d802d65cf662644fd1d369c86d84a5630652
net: sparx5: mdb add/del handle non-sparx5 devices

When adding/deleting mdb entries on other net_devices, eg., tap
interfaces, it should not crash.

Fixes: 3bacfccdcb2d ("net: sparx5: Add mdb handlers")
Signed-off-by: Casper Andersson <[email protected]>
Reviewed-by: Steen Hegelund <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
drivers/net/ethernet/microchip/sparx5/sparx5_switchdev.c
This page took 0.053096 seconds and 4 git commands to generate.