提交 bf3883c1 编写于 作者: D Dave Jones 提交者: David S. Miller

[ATM]: Ratelimit atmsvc failure messages

This seems to be trivial to trigger.
Signed-off-by: NDave Jones <davej@redhat.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 7a11c4d0
......@@ -56,7 +56,8 @@ static void sigd_put_skb(struct sk_buff *skb)
remove_wait_queue(&sigd_sleep,&wait);
#else
if (!sigd) {
printk(KERN_WARNING "atmsvc: no signaling demon\n");
if (net_ratelimit())
printk(KERN_WARNING "atmsvc: no signaling demon\n");
kfree_skb(skb);
return;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册