diff options
| author | Wei Yongjun <weiyongjun1@huawei.com> | 2019-02-18 11:29:29 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-07-10 09:53:45 +0200 |
| commit | 04096b3beacee419bc36650c9f3620a20e9dfdfe (patch) | |
| tree | dee4ae1634f05aea00f05df9ac69bcb39b5d3048 /drivers | |
| parent | e2379b044d6742febaea581d2ba6c5d44307cc9f (diff) | |
mac80211: mesh: fix missing unlock on error in table_path_del()
[ Upstream commit f2ffff085d287eec499f1fccd682796ad8010303 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions
