From: Dave Jones Date: Mon, 13 Feb 2006 23:34:58 +0000 (-0800) Subject: [ATM]: Ratelimit atmsvc failure messages X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=bf3883c12fece9189ab4f7bb6e2690451db1366e;p=openwrt%2Fstaging%2Fblogic.git [ATM]: Ratelimit atmsvc failure messages This seems to be trivial to trigger. Signed-off-by: Dave Jones Signed-off-by: David S. Miller --- diff --git a/net/atm/signaling.c b/net/atm/signaling.c index e7211a7f382c..93ad59a28ef5 100644 --- a/net/atm/signaling.c +++ b/net/atm/signaling.c @@ -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; }