linux-brain/net/dsa
Vivien Didelot af3924a97e net: dsa: fix switch tree list
[ Upstream commit 50c7d2ba9d ]

If there are multiple switch trees on the device, only the last one
will be listed, because the arguments of list_add_tail are swapped.

Fixes: 83c0afaec7 ("net: dsa: Add new binding implementation")
Signed-off-by: Vivien Didelot <vivien.didelot@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-11-10 11:25:32 +01:00
..
dsa_priv.h net-next: dsa: move struct dsa_device_ops to the global header file 2017-08-09 22:51:47 -07:00
dsa.c net: dsa: Fix error cleanup path in dsa_init_module 2019-05-16 19:42:34 +02:00
dsa2.c net: dsa: fix switch tree list 2019-11-10 11:25:32 +01:00
Kconfig dsa: add support for Microchip KSZ tail tagging 2017-05-31 20:56:31 -04:00
legacy.c net: dsa: Move FDB add/del implementation inside DSA 2017-08-07 14:48:48 -07:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
port.c net: dsa: Move FDB dump implementation inside DSA 2017-08-07 14:48:48 -07:00
slave.c net: dsa: slave: Don't propagate flag changes on down slave interfaces 2019-02-12 19:46:11 +01:00
switch.c net: dsa: return after vlan prepare phase 2017-11-11 15:45:09 +09:00
tag_brcm.c net: dsa: Discard frames from unused ports 2018-04-24 09:36:39 +02:00
tag_dsa.c net: dsa: Discard frames from unused ports 2018-04-24 09:36:39 +02:00
tag_edsa.c net: dsa: Discard frames from unused ports 2018-04-24 09:36:39 +02:00
tag_ksz.c net: dsa: Discard frames from unused ports 2018-04-24 09:36:39 +02:00
tag_lan9303.c net: dsa: Discard frames from unused ports 2018-04-24 09:36:39 +02:00
tag_mtk.c net: dsa: Discard frames from unused ports 2018-04-24 09:36:39 +02:00
tag_qca.c net: dsa: Discard frames from unused ports 2018-04-24 09:36:39 +02:00
tag_trailer.c net: dsa: add error handling for pskb_trim_rcsum 2018-06-26 08:06:28 +08:00