net: Convert net_ratelimit uses to net_<level>_ratelimited
[deliverable/linux.git] / net / netfilter / nf_conntrack_h323_main.c
index 471b054ad002baffe1f50b16dcd8ed7678d3ea0d..93c13eb67b3f9e6fcb77169c408e956fb512e331 100644 (file)
@@ -605,8 +605,7 @@ static int h245_help(struct sk_buff *skb, unsigned int protoff,
 
       drop:
        spin_unlock_bh(&nf_h323_lock);
-       if (net_ratelimit())
-               pr_info("nf_ct_h245: packet dropped\n");
+       net_info_ratelimited("nf_ct_h245: packet dropped\n");
        return NF_DROP;
 }
 
@@ -1156,8 +1155,7 @@ static int q931_help(struct sk_buff *skb, unsigned int protoff,
 
       drop:
        spin_unlock_bh(&nf_h323_lock);
-       if (net_ratelimit())
-               pr_info("nf_ct_q931: packet dropped\n");
+       net_info_ratelimited("nf_ct_q931: packet dropped\n");
        return NF_DROP;
 }
 
@@ -1731,8 +1729,7 @@ static int ras_help(struct sk_buff *skb, unsigned int protoff,
 
       drop:
        spin_unlock_bh(&nf_h323_lock);
-       if (net_ratelimit())
-               pr_info("nf_ct_ras: packet dropped\n");
+       net_info_ratelimited("nf_ct_ras: packet dropped\n");
        return NF_DROP;
 }
 
This page took 0.023684 seconds and 5 git commands to generate.