Linux kernel bug fix: net: dsa: sja1105: call dsa_unregister_switch when allocating memory fails
Subsystem: drivers/net (drivers/net/dsa/sja1105/sja1105_main.c)
Bug type: crash, severity: critical
Files changed: drivers/net/dsa/sja1105/sja1105_main.c
Introduced by Vladimir Oltean on 2020-05-28 11:01:22 -0700; fixed by Vladimir Oltean on 2021-05-24 13:20:24 -0700 (lifetime: 361 days)