From: nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Sat, 8 Oct 2011 15:20:34 +0000 (+0000)
Subject: mac80211: remove a WARN_ON that causes compile errors on 2.6.32
X-Git-Url: https://git.rohieb.name/openwrt.git/commitdiff_plain/4938785172e127723525431b31c8143b7798aabd

mac80211: remove a WARN_ON that causes compile errors on 2.6.32

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28386 3c298f89-4303-0410-b956-a3cf2f4a3e73
---

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