Merge remote branch 'wireless-next/master' into ath6kl-next
[firefly-linux-kernel-4.4.55.git] / net / ipv4 / ip_output.c
index 4910176d24ed5d8b4a8a5430a3bc3e33d8c1ba91..451f97c42eb40fa14987602fafa31da79911acff 100644 (file)
@@ -214,8 +214,8 @@ static inline int ip_finish_output2(struct sk_buff *skb)
        }
        rcu_read_unlock();
 
-       if (net_ratelimit())
-               printk(KERN_DEBUG "ip_finish_output2: No header cache and no neighbour!\n");
+       net_dbg_ratelimited("%s: No header cache and no neighbour!\n",
+                           __func__);
        kfree_skb(skb);
        return -EINVAL;
 }