net: Convert net_ratelimit uses to net_<level>_ratelimited
[linux-2.6-block.git] / net / ipv6 / netfilter / nf_conntrack_l3proto_ipv6.c
index fe925e492520c5d0ec8226618bfd84d828ebab08..3224ef90a21a4b78bc500aeb4b0ef15c18ff4835 100644 (file)
@@ -232,8 +232,7 @@ static unsigned int ipv6_conntrack_local(unsigned int hooknum,
 {
        /* root is playing with raw sockets. */
        if (skb->len < sizeof(struct ipv6hdr)) {
-               if (net_ratelimit())
-                       pr_notice("ipv6_conntrack_local: packet too short\n");
+               net_notice_ratelimited("ipv6_conntrack_local: packet too short\n");
                return NF_ACCEPT;
        }
        return __ipv6_conntrack_in(dev_net(out), hooknum, skb, okfn);