[ATM]: Ratelimit atmsvc failure messages

This seems to be trivial to trigger.

Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Dave Jones 2006-02-13 15:34:58 -08:00 committed by David S. Miller
parent 7a11c4d063
commit bf3883c12f

View File

@ -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;
}