aboutsummaryrefslogtreecommitdiffstats
path: root/certs
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2020-01-25 22:18:47 +0100
committerDavid S. Miller <davem@davemloft.net>2020-01-27 11:13:53 +0100
commit6dd4b4f3936e17fedea1308bc70e9716f68bf232 (patch)
treee30859d123cd9a680ac1587ca96df6fd24183476 /certs
parentnet: dsa: Fix use-after-free in probing of DSA switch tree (diff)
downloadlinux-dev-6dd4b4f3936e17fedea1308bc70e9716f68bf232.tar.xz
linux-dev-6dd4b4f3936e17fedea1308bc70e9716f68bf232.zip
mlxsw: minimal: Fix an error handling path in 'mlxsw_m_port_create()'
An 'alloc_etherdev()' called is not ballanced by a corresponding 'free_netdev()' call in one error handling path. Slighly reorder the error handling code to catch the missed case. Fixes: c100e47caa8e ("mlxsw: minimal: Add ethtool support") Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Reviewed-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions