[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>
This commit is contained in:
parent
7a11c4d063
commit
bf3883c12f
@ -56,7 +56,8 @@ static void sigd_put_skb(struct sk_buff *skb)
|
|||||||
remove_wait_queue(&sigd_sleep,&wait);
|
remove_wait_queue(&sigd_sleep,&wait);
|
||||||
#else
|
#else
|
||||||
if (!sigd) {
|
if (!sigd) {
|
||||||
printk(KERN_WARNING "atmsvc: no signaling demon\n");
|
if (net_ratelimit())
|
||||||
|
printk(KERN_WARNING "atmsvc: no signaling demon\n");
|
||||||
kfree_skb(skb);
|
kfree_skb(skb);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user