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-01-05 15:13:13 -0800; fixed by Vladimir Oltean on 2021-05-24 13:20:24 -0700 (lifetime: 504 days)