[ATM]: Ratelimit atmsvc failure messages
authorDave Jones <davej@redhat.com>
Mon, 13 Feb 2006 23:34:58 +0000 (15:34 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 Feb 2006 23:34:58 +0000 (15:34 -0800)
This seems to be trivial to trigger.

Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/atm/signaling.c

index e7211a7f382c5b35ea059bd36feabfa5f8a32cfd..93ad59a28ef56c50f1d3dd190fdde489ab60d117 100644 (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;
        }