mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-04-01 22:18:04 +07:00
[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,6 +56,7 @@ 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) {
|
||||||
|
if (net_ratelimit())
|
||||||
printk(KERN_WARNING "atmsvc: no signaling demon\n");
|
printk(KERN_WARNING "atmsvc: no signaling demon\n");
|
||||||
kfree_skb(skb);
|
kfree_skb(skb);
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user