summaryrefslogtreecommitdiffstats
path: root/drivers/net/usb
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2019-02-18 11:29:29 +0100
committerDavid S. Miller <davem@davemloft.net>2019-02-18 16:29:54 -0800
commitf2ffff085d287eec499f1fccd682796ad8010303 (patch)
tree357c8e966af32e8034d912743d1ac4efbb7359fd /drivers/net/usb
parent21d2cb491b9e10bfdf10424673b43cd9eddc2da1 (diff)
downloadlinux-f2ffff085d287eec499f1fccd682796ad8010303.tar.gz
linux-f2ffff085d287eec499f1fccd682796ad8010303.tar.bz2
linux-f2ffff085d287eec499f1fccd682796ad8010303.zip
mac80211: mesh: fix missing unlock on error in table_path_del()
spin_lock_bh() is used in table_path_del() but rcu_read_unlock() is used for unlocking. Fix it by using spin_unlock_bh() instead of rcu_read_unlock() in the error handling case. Fixes: b4c3fbe63601 ("mac80211: Use linked list instead of rhashtable walk for mesh tables") Acked-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/usb')
0 files changed, 0 insertions, 0 deletions