netfilter: ipt_CLUSTERIP: remove "no conntrack!"
authorEric Dumazet <eric.dumazet@gmail.com>
Tue, 18 Jan 2011 15:27:56 +0000 (16:27 +0100)
committerPatrick McHardy <kaber@trash.net>
Tue, 18 Jan 2011 15:27:56 +0000 (16:27 +0100)
When a packet is meant to be handled by another node of the cluster,
silently drop it instead of flooding kernel log.

Note : INVALID packets are also dropped without notice.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Patrick McHardy <kaber@trash.net>
net/ipv4/netfilter/ipt_CLUSTERIP.c

index 1e26a4897655bddd2720730956ebe2d15d265ebf..403ca57f60118544a99b29028edae70ec160e7de 100644 (file)
@@ -300,13 +300,8 @@ clusterip_tg(struct sk_buff *skb, const struct xt_action_param *par)
         * that the ->target() function isn't called after ->destroy() */
 
        ct = nf_ct_get(skb, &ctinfo);
-       if (ct == NULL) {
-               pr_info("no conntrack!\n");
-                       /* FIXME: need to drop invalid ones, since replies
-                        * to outgoing connections of other nodes will be
-                        * marked as INVALID */
+       if (ct == NULL)
                return NF_DROP;
-       }
 
        /* special case: ICMP error handling. conntrack distinguishes between
         * error messages (RELATED) and information requests (see below) */
This page took 0.025793 seconds and 5 git commands to generate.