projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a11c4d
)
[ATM]: Ratelimit atmsvc failure messages
author
Dave Jones
<davej@redhat.com>
Mon, 13 Feb 2006 23:34:58 +0000
(15:34 -0800)
committer
David S. Miller
<davem@davemloft.net>
Mon, 13 Feb 2006 23:34:58 +0000
(15:34 -0800)
This seems to be trivial to trigger.
Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/atm/signaling.c
patch
|
blob
|
blame
|
history
diff --git
a/net/atm/signaling.c
b/net/atm/signaling.c
index e7211a7f382c5b35ea059bd36feabfa5f8a32cfd..93ad59a28ef56c50f1d3dd190fdde489ab60d117 100644
(file)
--- 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;
}