Linux/linux f2ffff0net/mac80211 mesh_pathtbl.c

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 at gondor.apana.org.au>
Signed-off-by: Wei Yongjun <weiyongjun1 at huawei.com>
Signed-off-by: Johannes Berg <johannes.berg at intel.com>
Signed-off-by: David S. Miller <davem at davemloft.net>
DeltaFile
+1-1net/mac80211/mesh_pathtbl.c
+1-11 files

UnifiedSplitRaw