summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-10-08 15:20:34 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-10-08 15:20:34 +0000
commit4938785172e127723525431b31c8143b7798aabd (patch)
tree5c31575d5781456bd5a140573fddf1cd88777a07
parent5c53069e8a9dba9a29afbd7c731ddbedf66a18c5 (diff)
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
-rw-r--r--package/mac80211/patches/140-mesh_pathtbl_backport.patch10
1 files changed, 10 insertions, 0 deletions
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 0000000000..aae5559e86
--- /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)