r8152: Rate limit overflow messages
Subsystems (3)
PATCH 1/1 r8152: Rate limit overflow messages
My system shows almost 10 million of these messages over a 24-hour period which pollutes my logs.
Signed-off-by Andrew Gaul <[email protected]>
--- drivers/net/usb/r8152.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/net/usb/r8152.c +3 -1
@@ -1874,7 +1874,9 @@ static void intr_callback(struct urb *urb) "Stop submitting intr, status %d\n", status);return ;case -EOVERFLOW : -netif_info (tp, intr, tp->netdev,"intr status -EOVERFLOW\n" ); +if (net_ratelimit ()) +netif_info (tp, intr, tp->netdev, +"intr status -EOVERFLOW\n" ); goto resubmit;/* -EPIPE: should clear the halt */ default :
Signature · 1 line
2.37.3
Andrew Gaul <[email protected]>
Quoted 4 lines
Sent: Saturday, September 24, 2022 4:58 PM
Cc: [email protected]; Hayes Wang <[email protected]>; Andrew Gaul <[email protected]>
Subject: [PATCH] r8152: Rate limit overflow messages
You are supposed to send to [email protected].
Best Regards,
Hayes