diff options
author | 2006-02-13 15:34:58 -0800 | |
---|---|---|
committer | 2006-02-13 15:34:58 -0800 | |
commit | bf3883c12fece9189ab4f7bb6e2690451db1366e (patch) | |
tree | 044a6678fff7b3325169794d2a06f2d25ef95616 /net/atm | |
parent | [IRDA]: Ratelimit messages. (diff) | |
download | linux-bf3883c12fece9189ab4f7bb6e2690451db1366e.tar.gz linux-bf3883c12fece9189ab4f7bb6e2690451db1366e.tar.bz2 linux-bf3883c12fece9189ab4f7bb6e2690451db1366e.zip |
[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>
Diffstat (limited to 'net/atm')
-rw-r--r-- | net/atm/signaling.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; } |