On Wed, Apr 15, 2026 at 09:38:36PM +0200, Stefano Brivio wrote:
On Mon, 13 Apr 2026 16:25:52 +1000 David Gibson
wrote: On Fri, Apr 10, 2026 at 04:07:37PM +0530, Anshu Kumari wrote:
Now that rate-limited logging macros are available, promote several debug messages to higher severity levels. These messages were previously kept at debug to prevent guests from flooding host logs, but with rate limiting they can safely be made visible in normal operation.
In tap.c, refactor tap4_is_fragment() to use warn_ratelimit() instead of its ad-hoc rate limiting, and promote the guest MAC address change message to info level.
In tcp.c, promote the invalid TCP SYN endpoint message to warn level.
In udp.c, promote dropped datagram messages to warn level, and rate-limit the unrecoverable socket error message.
In udp_flow.c, promote flow allocation failures to err_ratelimit.
Link: https://bugs.passt.top/show_bug.cgi?id=134 Signed-off-by: Anshu Kumari
Reviewed-by: David Gibson
--- v3: - Promote flow allocation failures to err_ratelimit from warn_ratelimit.
Nit: doesn't affect the validity of the patch itself, but I'd consider "promotion" in this context as going from a less severe to more severe error level. So going from 'err' to 'warn' is a demotion, not a promotion.
Wait but this is now going _from_ 'warn' _to_ 'err', so it's indeed a promotion, isn't it?
Oh, sorry, my mistake. I misread "to x from y" as "from x to y". -- David Gibson (he or they) | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you, not the other way | around. http://www.ozlabs.org/~dgibson