diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2009-04-30 15:37:24 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2009-04-30 15:37:24 +0000 |
commit | 2e56467889aad37af32d27f4964e72bd947f5c54 (patch) | |
tree | 4d0ccdf75fbd8b28721aaa88dd3e2c9023141e44 /target/linux/generic-2.6/patches-2.6.26 | |
parent | c1959052f79a9a67ee2ad19bd68113ff0222a767 (diff) | |
download | upstream-2e56467889aad37af32d27f4964e72bd947f5c54.tar.gz upstream-2e56467889aad37af32d27f4964e72bd947f5c54.tar.bz2 upstream-2e56467889aad37af32d27f4964e72bd947f5c54.zip |
fix 101-netfilter_layer7_pktmatch.patch for 2.6.26.8
SVN-Revision: 15518
Diffstat (limited to 'target/linux/generic-2.6/patches-2.6.26')
-rw-r--r-- | target/linux/generic-2.6/patches-2.6.26/101-netfilter_layer7_pktmatch.patch | 2 |
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, |