linux/net/dsa
Florian Fainelli 5f64a7dbf5 dsa: fix freeing of sparse port allocation
If we have defined a sparse port allocation which is non-contiguous and
contains gaps, the code freeing port_names will just stop when it
encouters a first NULL port_names, which is not right, we should iterate
over all possible number of ports (DSA_MAX_PORTS) until we are done.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-03-25 12:23:41 -04:00
..
Kconfig dsa: Hide core config options; make drivers select what they need 2012-11-26 17:10:44 -05:00
Makefile dsa: Move switch drivers to new directory drivers/net/dsa 2011-11-29 00:21:36 -05:00
dsa.c dsa: fix freeing of sparse port allocation 2013-03-25 12:23:41 -04:00
dsa_priv.h dsa: Move all definitions needed by drivers into <net/dsa.h> 2011-11-29 00:21:36 -05:00
slave.c dsa: use an unique and non conflicting bus name for the slave MII bus 2013-01-21 15:40:11 -05:00
tag_dsa.c dsa: Combine core and tagging code 2011-11-26 14:48:15 -05:00
tag_edsa.c dsa: Combine core and tagging code 2011-11-26 14:48:15 -05:00
tag_trailer.c dsa: Combine core and tagging code 2011-11-26 14:48:15 -05:00