aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-05-14 18:35:10 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-05-14 18:35:10 +0000
commit843773dfef6e111c35c6ac77d9ef5731f2710e5e (patch)
tree930dcc08ebefac3dde0f3a870a7dd5140de7e918 /target/linux
parente279479bf9272478c3c47b5f2997f876ddc6ae23 (diff)
downloadmaster-187ad058-843773dfef6e111c35c6ac77d9ef5731f2710e5e.tar.gz
master-187ad058-843773dfef6e111c35c6ac77d9ef5731f2710e5e.tar.bz2
master-187ad058-843773dfef6e111c35c6ac77d9ef5731f2710e5e.zip
fix a compile error in the netfilter match speedup patch for 2.6.30
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15849 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/generic-2.6/patches-2.6.30/110-netfilter_match_speedup.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/generic-2.6/patches-2.6.30/110-netfilter_match_speedup.patch b/target/linux/generic-2.6/patches-2.6.30/110-netfilter_match_speedup.patch
index cf7890ea09..950a432959 100644
--- a/target/linux/generic-2.6/patches-2.6.30/110-netfilter_match_speedup.patch
+++ b/target/linux/generic-2.6/patches-2.6.30/110-netfilter_match_speedup.patch
@@ -95,7 +95,7 @@
+ int v = ((struct ipt_standard_target *)t)->verdict;
+ if ((v < 0) && (v != IPT_RETURN)) {
+ ADD_COUNTER(e->counters, ntohs(ip->tot_len), 1);
-+ read_unlock_bh(&table->lock);
++ xt_info_rdunlock_bh();
+ return (unsigned)(-v) - 1;
+ }
+ }