Files
linux/drivers/net
Navid Emamdoost 68501df92d net: dsa: sja1105: Prevent leaking memory
In sja1105_static_config_upload, in two cases memory is leaked: when
static_config_buf_prepare_for_upload fails and when sja1105_inhibit_tx
fails. In both cases config_buf should be released.

Fixes: 8aa9ebccae ("net: dsa: Introduce driver for NXP SJA1105 5-port L2 switch")
Fixes: 1a4c69406c ("net: dsa: sja1105: Prevent PHY jabbering during switch reset")
Signed-off-by: Navid Emamdoost <navid.emamdoost@gmail.com>
Signed-off-by: Vladimir Oltean <olteanv@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-09-30 17:24:43 -07:00
..
2019-09-26 08:56:17 +02:00
2019-09-25 13:45:03 +02:00
2019-08-08 18:03:42 -07:00
2019-07-30 14:21:32 -07:00
2019-09-26 08:56:17 +02:00
2019-07-03 11:24:38 -07:00
2019-05-14 15:20:11 -07:00
2019-09-27 20:58:35 +02:00
2019-07-30 14:21:32 -07:00
2019-06-25 14:26:54 +02:00