]> err.no Git - linux-2.6/commitdiff
[NETFILTER]: Fix handling of ICMP packets (RELATED) in ipt_CLUSTERIP target.
authorHarald Welte <laforge@netfilter.org>
Wed, 22 Jun 2005 19:37:50 +0000 (12:37 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Jun 2005 19:37:50 +0000 (12:37 -0700)
Signed-off-by: Harald Welte <laforge@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/netfilter/ipt_CLUSTERIP.c

index dc4362b57cfa497746a100b4cd8ed5079e499b29..9cde8c61f525920aa36cdd422b93742f2574e02b 100644 (file)
@@ -339,7 +339,7 @@ target(struct sk_buff **pskb,
         * error messages (RELATED) and information requests (see below) */
        if ((*pskb)->nh.iph->protocol == IPPROTO_ICMP
            && (ctinfo == IP_CT_RELATED 
-               || ctinfo == IP_CT_IS_REPLY+IP_CT_IS_REPLY))
+               || ctinfo == IP_CT_RELATED+IP_CT_IS_REPLY))
                return IPT_CONTINUE;
 
        /* ip_conntrack_icmp guarantees us that we only have ICMP_ECHO,