Merge tag 'ktest-v3.5-spelling' of git://git.kernel.org/pub/scm/linux/kernel/git...
[pandora-kernel.git] / net / netfilter / nf_conntrack_expect.c
index 4147ba3..45cf602 100644 (file)
@@ -424,9 +424,7 @@ static inline int __nf_ct_expect_check(struct nf_conntrack_expect *expect)
        }
 
        if (net->ct.expect_count >= nf_ct_expect_max) {
-               if (net_ratelimit())
-                       printk(KERN_WARNING
-                              "nf_conntrack: expectation table full\n");
+               net_warn_ratelimited("nf_conntrack: expectation table full\n");
                ret = -EMFILE;
        }
 out: