Actions
Bug #188
closedlogspam "net_ratelimit: X callbacks suppressed"
Start date:
05/30/2014
Due date:
% Done:
0%
Estimated time:
Description
The batman-adv module currently produces a lot of logspam of the form
[107051.330000] net_ratelimit: 44 callbacks suppressed [107325.800000] net_ratelimit: 88 callbacks suppressed [107585.650000] net_ratelimit: 23 callbacks suppressed
This is caused by the definition of net_ratelimited_function in compat.h because net_ratelimit() is called independent of the current debug level. Thus net_ratelimit() prints the above messages although the actual message would not be printed.
The issue can be fixed trivially by calling net_ratelimit() after the debug level has been checked.
Actions