kernel_optimize_test/drivers/net/dsa
Alexey Khoroshilov f48bd34137 net: dsa: lantiq_gswip: fix use after free in gswip_remove()
commit 8c6ae46150a453f8ae9a6cd49b45f354f478587d upstream.

of_node_put(priv->ds->slave_mii_bus->dev.of_node) should be
done before mdiobus_free(priv->ds->slave_mii_bus).

Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Fixes: 0d120dfb5d67 ("net: dsa: lantiq_gswip: don't use devres for mdiobus")
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/1644921768-26477-1-git-send-email-khoroshilov@ispras.ru
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-02-23 12:01:02 +01:00
..
b53 net: dsa: b53: Fix IMP port setup on BCM5301x 2021-09-22 12:28:05 +02:00
microchip net: dsa: microchip: Added the condition for scheduling ksz_mib_read_work 2021-10-20 11:45:04 +02:00
mv88e6xxx net: dsa: mv88e6xxx: fix use-after-free in mv88e6xxx_mdios_unregister 2022-02-16 12:54:27 +01:00
ocelot net: dsa: felix: don't use devres for mdiobus 2022-02-16 12:54:25 +01:00
qca net: dsa: ar9331: register the mdiobus under devres 2022-02-16 12:54:25 +01:00
sja1105 net: dsa: sja1105: fix broken backpressure in .port_fdb_dump 2021-08-18 08:59:12 +02:00
bcm_sf2_cfp.c
bcm_sf2_regs.h
bcm_sf2.c net: dsa: bcm_sf2: don't use devres for mdiobus 2022-02-16 12:54:25 +01:00
bcm_sf2.h
dsa_loop_bdinfo.c
dsa_loop.c net: dsa: propagate switchdev vlan_filtering prepare phase to drivers 2020-10-05 05:56:48 -07:00
dsa_loop.h
Kconfig net: dsa: mt7530: make NET_DSA_MT7530 select MEDIATEK_GE_PHY 2022-02-08 18:30:41 +01:00
lan9303_i2c.c
lan9303_mdio.c
lan9303-core.c net: dsa: lan9303: fix reset on probe 2022-02-23 12:01:01 +01:00
lan9303.h
lantiq_gswip.c net: dsa: lantiq_gswip: fix use after free in gswip_remove() 2022-02-23 12:01:02 +01:00
lantiq_pce.h
Makefile
mt7530.c net: dsa: mt7530: correct ds->num_ports 2021-10-27 09:56:52 +02:00
mt7530.h
mv88e6060.c
mv88e6060.h
qca8k.c net: dsa: qca8k: Fix port MTU setting 2020-11-02 15:14:59 -08:00
qca8k.h
realtek-smi-core.c net: dsa: realtek: register the MDIO bus under devres 2021-09-30 10:11:02 +02:00
realtek-smi-core.h net: dsa: rtl8366rb: Roof MTU for switch 2020-10-10 11:25:05 -07:00
rtl8366.c net: dsa: propagate switchdev vlan_filtering prepare phase to drivers 2020-10-05 05:56:48 -07:00
rtl8366rb.c net: dsa: rtl8366rb: Fix off-by-one bug 2021-11-18 14:04:03 +01:00
vitesse-vsc73xx-core.c
vitesse-vsc73xx-platform.c
vitesse-vsc73xx-spi.c
vitesse-vsc73xx.h