Re: [B.A.T.M.A.N.] [PATCH] batman-adv: print packets re-routing on DBG_TT and ratelimit it
From: Antonio Quartulli <hidden>
Date: 2012-08-24 16:26:53
Attachments
- (unnamed) [application/pgp-signature] 198 bytes
From: Antonio Quartulli <hidden>
Date: 2012-08-24 16:26:53
On Fri, Aug 24, 2012 at 06:18:42PM +0200, Antonio Quartulli wrote:
To simplify TranslationTable debugging it is better to print the packet rerouting message on the DBG_TT log level. In this way a developer interested in packets rerouting doesn't need to filter it out of the whole ROUTES log. Moreover, since this message will appear for each rerouted message, it is now "ratelimited". Signed-off-by: Antonio Quartulli <redacted>
Sorry, drop this patch, I should have used net_ratelimited_function, as I told to Martin. Will send v2. Cheers, -- Antonio Quartulli ..each of us alone is worth nothing.. Ernesto "Che" Guevara