projects
/
openwrt
/
svn-archive
/
archive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix a compile error in the netfilter match speedup patch for 2.6.30
[openwrt/svn-archive/archive.git]
/
target
/
linux
/
generic-2.6
/
patches-2.6.30
/
110-netfilter_match_speedup.patch
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 cf7890ea096a9c144e25444e751de991e7db5ed1..950a432959e3081d0d533b66464706fe72e4c264 100644
(file)
--- 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;
+ }
+ }