net: Convert net_ratelimit uses to net_<level>_ratelimited
[deliverable/linux.git] / net / ipv4 / netfilter / ipt_CLUSTERIP.c
index a639967eb727284a668354374d9bc4103a7ca1d9..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) {
This page took 0.024712 seconds and 5 git commands to generate.