summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-05-14 18:35:10 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-05-14 18:35:10 +0000
commit793ad82542d9e2a01c701958caec62abca8bdb58 (patch)
tree930dcc08ebefac3dde0f3a870a7dd5140de7e918
parent9b69d8a2cdb6a64f6e18b7e8a9e7505c44114cbb (diff)
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
-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 cf7890ea0..950a43295 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;
+ }
+ }