diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-05-14 18:35:10 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-05-14 18:35:10 +0000 |
commit | 8295ad3444d5f579ec16694cba8553d5936a815b (patch) | |
tree | 09e8bcd427da8f8f0c143065516e7e211045002c /target/linux/generic-2.6/patches-2.6.30/110-netfilter_match_speedup.patch | |
parent | c2e3ae221debf813afbe34ee43cdcab607f681ea (diff) | |
download | upstream-8295ad3444d5f579ec16694cba8553d5936a815b.tar.gz upstream-8295ad3444d5f579ec16694cba8553d5936a815b.tar.bz2 upstream-8295ad3444d5f579ec16694cba8553d5936a815b.zip |
fix a compile error in the netfilter match speedup patch for 2.6.30
SVN-Revision: 15849
Diffstat (limited to 'target/linux/generic-2.6/patches-2.6.30/110-netfilter_match_speedup.patch')
-rw-r--r-- | target/linux/generic-2.6/patches-2.6.30/110-netfilter_match_speedup.patch | 2 |
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; + } + } |