Commit bf3883c1 authored by Dave Jones's avatar Dave Jones Committed by David S. Miller

[ATM]: Ratelimit atmsvc failure messages

This seems to be trivial to trigger.
Signed-off-by: default avatarDave Jones <davej@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment