android_kernel_motorola_sm6375/net/dsa
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Vladimir Oltean 5c53956a8d net: dsa: call teardown method on probe failure
commit 8fd54a73b7cda11548154451bdb4bde6d8ff74c7 upstream.

Since teardown is supposed to undo the effects of the setup method, it
should be called in the error path for dsa_switch_setup, not just in
dsa_switch_teardown.

Fixes: 5e3f847a02 ("net: dsa: Add teardown callback for drivers")
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Link: https://lore.kernel.org/r/20210204163351.2929670-1-vladimir.oltean@nxp.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-02-17 10:35:19 +01:00
..
dsa.c
dsa2.c net: dsa: call teardown method on probe failure 2021-02-17 10:35:19 +01:00
dsa_priv.h
Kconfig
Makefile
master.c net: dsa: Do not leave DSA master with NULL netdev_ops 2020-05-14 07:58:20 +02:00
port.c
slave.c net: dsa: declare lockless TX feature for slave ports 2020-06-03 08:21:38 +02:00
switch.c
tag_8021q.c
tag_brcm.c
tag_dsa.c
tag_edsa.c dsa: Allow forwarding of redirected IGMP traffic 2020-09-23 12:40:33 +02:00
tag_gswip.c
tag_ksz.c
tag_lan9303.c
tag_mtk.c net: dsa: mt7530: fix roaming from DSA user ports 2020-06-03 08:20:43 +02:00
tag_qca.c
tag_sja1105.c
tag_trailer.c