net: Convert net_ratelimit uses to net_<level>_ratelimited
[deliverable/linux.git] / net / ipv4 / netfilter / ipt_CLUSTERIP.c
index db8d22db425f6917b23d8d31661905ab58d3ef2d..fe5daea5214d9907bb742d0ee6e18ca900f07d16 100644 (file)
@@ -246,8 +246,7 @@ clusterip_hashfn(const struct sk_buff *skb,
                        dport = ports[1];
                }
        } else {
-               if (net_ratelimit())
-                       pr_info("unknown protocol %u\n", iph->protocol);
+               net_info_ratelimited("unknown protocol %u\n", iph->protocol);
        }
 
        switch (config->hash_mode) {
@@ -395,7 +394,6 @@ static int clusterip_tg_check(const struct xt_tgchk_param *par)
                        config = clusterip_config_init(cipinfo,
                                                        e->ip.dst.s_addr, dev);
                        if (!config) {
-                               pr_info("cannot allocate config\n");
                                dev_put(dev);
                                return -ENOMEM;
                        }
This page took 0.038655 seconds and 5 git commands to generate.