Files
linux/drivers
Vladimir Oltean 42b5adbbac net: dsa: felix: don't deinitialize unused ports
ocelot_init_port is called only if dsa_is_unused_port == false, however
ocelot_deinit_port is called unconditionally. This causes a warning in
the skb_queue_purge inside ocelot_deinit_port saying that the spin lock
protecting ocelot_port->tx_skbs was not initialized.

Fixes: e5fb512d81 ("net: mscc: ocelot: deinitialize only initialized ports")
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-02-16 13:52:14 -08:00
..
2021-01-14 20:56:56 +00:00
2020-12-07 10:08:14 +01:00
2020-12-02 22:35:44 +01:00
2021-01-05 15:50:36 -08:00
2020-12-09 19:26:02 -06:00
2020-12-15 22:50:12 +11:00
2021-01-25 12:53:48 +00:00
2020-12-10 10:45:36 +01:00
2020-12-09 19:44:34 +01:00