mac80211: remove a WARN_ON that causes compile errors on 2.6.32
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 8 Oct 2011 15:20:34 +0000 (15:20 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 8 Oct 2011 15:20:34 +0000 (15:20 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28386 3c298f89-4303-0410-b956-a3cf2f4a3e73

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)