Skip to content

Commit

Permalink
[ATM]: Ratelimit atmsvc failure messages
Browse files Browse the repository at this point in the history
This seems to be trivial to trigger.

Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Dave Jones authored and davem330 committed Feb 13, 2006
1 parent 7a11c4d commit bf3883c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion net/atm/signaling.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit bf3883c

Please sign in to comment.