summaryrefslogtreecommitdiff
path: root/mm/filemap.c
diff options
context:
space:
mode:
authorTaehee Yoo <ap420073@gmail.com>2020-07-21 17:51:50 +0300
committerDavid S. Miller <davem@davemloft.net>2020-07-22 02:00:43 +0300
commit2c9d8e01f0c6017317eee7638496173d4a64e6bc (patch)
tree27d0fc555fabf7010c6a04f3d79588b28c002524 /mm/filemap.c
parent3506b2f42dff66ea6814c3dfa1988bafb79e6f88 (diff)
downloadlinux-2c9d8e01f0c6017317eee7638496173d4a64e6bc.tar.xz
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 'mm/filemap.c')
0 files changed, 0 insertions, 0 deletions