Re: [PATCH 160/306] mac80211-hwsim: add rate-limited debugging for rx-netlink From: Ben Greear <hidden> Date: 2017-02-24 15:33:38 On 02/23/2017 10:39 PM, Johannes Berg wrote:quoted+ !info->attrs[HWSIM_ATTR_SIGNAL]) { + if (net_ratelimit()) + printk(KERN_DEBUG " hwsim rx-nl: Missing required attribute\n"); I'm not convinced net_ratelimit() is a good idea, that's a global rate limiter. Is there a better rate-limiter w/out hand-crafting something? Thanks, Ben -- Ben Greear [off-list ref] Candela Technologies Inc http://www.candelatech.com
Keyboard shortcuts hback out one level jnext message in thread kprevious message in thread ldrill in Escclose help / fold thread tree ?toggle this help