Skip to content

Commit

Permalink
[NETFILTER]: Fix handling of ICMP packets (RELATED) in ipt_CLUSTERIP …
Browse files Browse the repository at this point in the history
…target.

Signed-off-by: Harald Welte <laforge@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Harald Welte authored and David S. Miller committed Jun 22, 2005
1 parent 4e93d3e commit 5d927eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/ipv4/netfilter/ipt_CLUSTERIP.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 5d927eb

Please sign in to comment.