summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2020-02-07 19:26:28 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-02-28 16:36:09 +0100
commitbc99bd6e85e1a08a1c75cd25e6175223083fe54a (patch)
tree131c19278c904d2a26d160eea87f9bbb83f4b070 /security
parenta4ba26c8801b10e98a6026b71a49ff80146974a0 (diff)
mlxsw: spectrum_dpipe: Add missing error path
[ Upstream commit 3a99cbb6fa7bca1995586ec2dc21b0368aad4937 ] In case devlink_dpipe_entry_ctx_prepare() failed, release RTNL that was previously taken and free the memory allocated by mlxsw_sp_erif_entry_prepare(). Fixes: 2ba5999f009d ("mlxsw: spectrum: Add Support for erif table entries access") Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions