summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-10-08 15:20:34 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-10-08 15:20:34 +0000
commitd317a227e1fb69def8d6380806da36b561888ced (patch)
tree99da8c390f6d891b3882dab1e87cb04276e53774 /package
parentb486d768d1655b6a1675bbfeb5a3b5b8196b63ab (diff)
downloadmtk-20170518-d317a227e1fb69def8d6380806da36b561888ced.zip
mtk-20170518-d317a227e1fb69def8d6380806da36b561888ced.tar.gz
mtk-20170518-d317a227e1fb69def8d6380806da36b561888ced.tar.bz2
mac80211: remove a WARN_ON that causes compile errors on 2.6.32
SVN-Revision: 28386
Diffstat (limited to 'package')
-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 0000000..aae5559
--- /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)