mac80211: remove a WARN_ON that causes compile errors on 2.6.32

SVN-Revision: 28386
lede-17.01
Felix Fietkau 2011-10-08 15:20:34 +00:00
parent b486d768d1
commit d317a227e1
1 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,10 @@
--- a/net/mac80211/mesh_pathtbl.c
+++ b/net/mac80211/mesh_pathtbl.c
@@ -844,7 +844,6 @@ static void table_flush_by_iface(struct
struct hlist_node *p;
int i;
- WARN_ON(!rcu_read_lock_held());
for_each_mesh_entry(tbl, p, node, i) {
mpath = node->mpath;
if (mpath->sdata != sdata)