[kernel] fix 101-netfilter_layer7_pktmatch.patch for 2.6.26.8
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 30 Apr 2009 15:37:24 +0000 (15:37 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 30 Apr 2009 15:37:24 +0000 (15:37 +0000)
SVN-Revision: 15518

target/linux/generic-2.6/patches-2.6.26/101-netfilter_layer7_pktmatch.patch

index 8d17ecd0b4828c4479dc8cfc7aec3054edc6d66d..81ca6cee71d697605e4f838493bcba5b199d3da1 100644 (file)
@@ -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,