aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-04-30 15:37:24 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-04-30 15:37:24 +0000
commit0037895227e200aba33104314bf073cef743fe6c (patch)
treedec101dd918d4ef943c88f3ab5e9523907a82a91
parentac992d6c0af7d50a7738b039e36dbf076f1e66d3 (diff)
downloadupstream-0037895227e200aba33104314bf073cef743fe6c.tar.gz
upstream-0037895227e200aba33104314bf073cef743fe6c.tar.bz2
upstream-0037895227e200aba33104314bf073cef743fe6c.zip
[kernel] fix 101-netfilter_layer7_pktmatch.patch for 2.6.26.8
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15518 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/generic-2.6/patches-2.6.26/101-netfilter_layer7_pktmatch.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/generic-2.6/patches-2.6.26/101-netfilter_layer7_pktmatch.patch b/target/linux/generic-2.6/patches-2.6.26/101-netfilter_layer7_pktmatch.patch
index 8d17ecd0b4..81ca6cee71 100644
--- a/target/linux/generic-2.6/patches-2.6.26/101-netfilter_layer7_pktmatch.patch
+++ b/target/linux/generic-2.6/patches-2.6.26/101-netfilter_layer7_pktmatch.patch
@@ -75,7 +75,7 @@
/* if we've classified it or seen too many packets */
- if(total_acct_packets(master_conntrack) > num_packets ||
- master_conntrack->layer7.app_proto) {
-+ if(!info->pkt && (TOTAL_PACKETS > num_packets ||
++ if(!info->pkt && (total_acct_packets(master_conntrack) > num_packets ||
+ master_conntrack->layer7.app_proto)) {
pattern_result = match_no_append(conntrack, master_conntrack,