mac80211: remove a WARN_ON that causes compile errors on 2.6.32
authorFelix Fietkau <nbd@openwrt.org>
Sat, 8 Oct 2011 15:20:34 +0000 (15:20 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 8 Oct 2011 15:20:34 +0000 (15:20 +0000)
SVN-Revision: 28386

package/mac80211/patches/140-mesh_pathtbl_backport.patch [new file with mode: 0644]

diff --git a/package/mac80211/patches/140-mesh_pathtbl_backport.patch b/package/mac80211/patches/140-mesh_pathtbl_backport.patch
new file mode 100644 (file)
index 0000000..aae5559
--- /dev/null
@@ -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)