aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2020-02-07 19:26:28 +0200
committerDavid S. Miller <davem@davemloft.net>2020-02-07 18:47:01 +0100
commit3a99cbb6fa7bca1995586ec2dc21b0368aad4937 (patch)
tree5306ed544549ffceef862deb5bd0d94e9dc82720 /tools/testing/selftests
parentmlxsw: core: Add validation of hardware device types for MGPIR register (diff)
downloadlinux-dev-3a99cbb6fa7bca1995586ec2dc21b0368aad4937.tar.xz
linux-dev-3a99cbb6fa7bca1995586ec2dc21b0368aad4937.zip
mlxsw: spectrum_dpipe: Add missing error path
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>
Diffstat (limited to 'tools/testing/selftests')
0 files changed, 0 insertions, 0 deletions