diff options
author | Chas Williams <chas@cmf.nrl.navy.mil> | 2006-03-03 17:49:58 -0800 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-03-04 21:06:25 -0800 |
commit | 0f8f325b25919619559f0f47aa46cd7dc2dbef92 (patch) | |
tree | cfe07be8eeb62e87e32a4c3510da3f11936daaf3 /net | |
parent | 125a12ccf3eefebff43e3dbf47225141faa5fbe8 (diff) | |
download | blackbird-op-linux-0f8f325b25919619559f0f47aa46cd7dc2dbef92.tar.gz blackbird-op-linux-0f8f325b25919619559f0f47aa46cd7dc2dbef92.zip |
[ATM]: keep atmsvc failure messages quiet
Signed-off-by: Chas Williams <chas@cmf.nrl.navy.mil>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/atm/signaling.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/net/atm/signaling.c b/net/atm/signaling.c index 93ad59a28ef5..31d98b57e1de 100644 --- a/net/atm/signaling.c +++ b/net/atm/signaling.c @@ -39,25 +39,19 @@ static DECLARE_WAIT_QUEUE_HEAD(sigd_sleep); static void sigd_put_skb(struct sk_buff *skb) { #ifdef WAIT_FOR_DEMON - static unsigned long silence; DECLARE_WAITQUEUE(wait,current); add_wait_queue(&sigd_sleep,&wait); while (!sigd) { set_current_state(TASK_UNINTERRUPTIBLE); - if (time_after(jiffies, silence) || silence == 0) { - printk(KERN_INFO "atmsvc: waiting for signaling demon " - "...\n"); - silence = (jiffies+30*HZ)|1; - } + DPRINTK("atmsvc: waiting for signaling demon...\n"); schedule(); } current->state = TASK_RUNNING; remove_wait_queue(&sigd_sleep,&wait); #else if (!sigd) { - if (net_ratelimit()) - printk(KERN_WARNING "atmsvc: no signaling demon\n"); + DPRINTK("atmsvc: no signaling demon\n"); kfree_skb(skb); return; } |