From: Stefano Brivio <sbrivio@redhat.com>
To: Anshu Kumari <anskuma@redhat.com>
Cc: passt-dev@passt.top, david@gibson.dropbear.id.au, lvivier@redhat.com
Subject: Re: [PATCH v2] tap, tcp, udp: Use rate-limited logging
Date: Mon, 06 Apr 2026 10:16:56 +0200 (CEST) [thread overview]
Message-ID: <20260406101655.376a7b13@elisabeth> (raw)
In-Reply-To: <20260406080557.858577-1-anskuma@redhat.com>
On Mon, 6 Apr 2026 13:35:56 +0530
Anshu Kumari <anskuma@redhat.com> 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 and udp_flow.c, promote flow allocation failures and dropped
> datagram messages to warn level, and rate-limit the unrecoverable
> socket error message.
>
> Link: https://bugs.passt.top/show_bug.cgi?id=134
> Signed-off-by: Anshu Kumari <anskuma@redhat.com>
> ---
> v2:
> - removed #define FRAGMENT_MSG_RATE
> - fixed the indentation for "Invalid endpoint in TCP SYN" log.
Sorry, I replied to v1 a couple minutes before getting your v2. Note
that you didn't really address some of the pending comments (about
indentation), see my reply for more details.
I would suggest anyway to wait one day or so before posting a new
version, thanks.
--
Stefano
next prev parent reply other threads:[~2026-04-06 8:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-06 8:05 Anshu Kumari
2026-04-06 8:16 ` Stefano Brivio [this message]
2026-04-07 3:28 ` David Gibson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260406101655.376a7b13@elisabeth \
--to=sbrivio@redhat.com \
--cc=anskuma@redhat.com \
--cc=david@gibson.dropbear.id.au \
--cc=lvivier@redhat.com \
--cc=passt-dev@passt.top \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://passt.top/passt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for IMAP folder(s).