From: Vladimir Oltean <olte...@gmail.com> Date: Sun, 29 Sep 2019 01:43:39 +0300
> From: Navid Emamdoost <navid.emamdo...@gmail.com> > > 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: 8aa9ebccae87 ("net: dsa: Introduce driver for NXP SJA1105 5-port L2 > switch") > Fixes: 1a4c69406cc1 ("net: dsa: sja1105: Prevent PHY jabbering during switch > reset") > Signed-off-by: Navid Emamdoost <navid.emamdo...@gmail.com> > Signed-off-by: Vladimir Oltean <olte...@gmail.com> Applied and queued up for -stable.