aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorTaehee Yoo <[email protected]>2020-07-21 14:51:50 +0000
committerDavid S. Miller <[email protected]>2020-07-21 16:00:43 -0700
commit2c9d8e01f0c6017317eee7638496173d4a64e6bc (patch)
tree27d0fc555fabf7010c6a04f3d79588b28c002524 /lib/mpi/mpi-cmp.c
parent3506b2f42dff66ea6814c3dfa1988bafb79e6f88 (diff)
netdevsim: fix unbalaced locking in nsim_create()
In the nsim_create(), rtnl_lock() is called before nsim_bpf_init(). If nsim_bpf_init() is failed, rtnl_unlock() should be called, but it isn't called. So, unbalanced locking would occur. Fixes: e05b2d141fef ("netdevsim: move netdev creation/destruction to dev probe") Signed-off-by: Taehee Yoo <[email protected]> Reviewed-by: Jakub Kicinski <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions