aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorTaehee Yoo <ap420073@gmail.com>2020-07-21 14:51:50 +0000
committerDavid S. Miller <davem@davemloft.net>2020-07-21 16:00:43 -0700
commit2c9d8e01f0c6017317eee7638496173d4a64e6bc (patch)
tree27d0fc555fabf7010c6a04f3d79588b28c002524 /arch
parentnet: dsa: microchip: call phy_remove_link_mode during probe (diff)
downloadlinux-dev-2c9d8e01f0c6017317eee7638496173d4a64e6bc.tar.xz
linux-dev-2c9d8e01f0c6017317eee7638496173d4a64e6bc.zip
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 <ap420073@gmail.com> Reviewed-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions