usbnet: ratelimit kevent may have been dropped warnings
From commit 9532021d upstream. when something goes wrong, a flood of these messages can be generated by usbnet (thousands per second). This doesn't generally *help* the condition so this patch ratelimits the rate of their generation. There's an underlying problem in usbnet's kevent deferral mechanism which needs fixing, specifically that events *can* get dropped and not handled. This patch doesn't address this, but just mitigates fallout caused by the current implemention. Signed-off-by:Steve Glendinning <steve.glendinning@shawell.net> Signed-off-by:
David S. Miller <davem@davemloft.net> Change-Id: I708632185ca0b310c4082cab3571a2d6552bf135 CRs-Fixed: 430579 Signed-off-by:
Hemant Kumar <hemantk@codeaurora.org>
Loading
Please sign in to comment