mac80211: remove a WARN_ON that causes compile errors on 2.6.32
[openwrt/svn-archive/archive.git] / package / mac80211 / patches / 140-mesh_pathtbl_backport.patch
1 --- a/net/mac80211/mesh_pathtbl.c
2 +++ b/net/mac80211/mesh_pathtbl.c
3 @@ -844,7 +844,6 @@ static void table_flush_by_iface(struct
4 struct hlist_node *p;
5 int i;
6
7 - WARN_ON(!rcu_read_lock_held());
8 for_each_mesh_entry(tbl, p, node, i) {
9 mpath = node->mpath;
10 if (mpath->sdata != sdata)