diff options
| author | Anshu Kumari <anskuma@redhat.com> | 2026-04-10 16:07:37 +0530 |
|---|---|---|
| committer | Stefano Brivio <sbrivio@redhat.com> | 2026-04-15 20:59:35 +0200 |
| commit | 5ac9cf11a512e6d54c94a2e6a7ddaabc10cb5b9b (patch) | |
| tree | bf4bb9321227d0973c44c8ef10df7cdfbef0b970 /doc | |
| parent | 926f5b4a9dab419e10e00b7fc6ae6256bf920be4 (diff) | |
| download | passt-5ac9cf11a512e6d54c94a2e6a7ddaabc10cb5b9b.tar passt-5ac9cf11a512e6d54c94a2e6a7ddaabc10cb5b9b.tar.gz passt-5ac9cf11a512e6d54c94a2e6a7ddaabc10cb5b9b.tar.bz2 passt-5ac9cf11a512e6d54c94a2e6a7ddaabc10cb5b9b.tar.lz passt-5ac9cf11a512e6d54c94a2e6a7ddaabc10cb5b9b.tar.xz passt-5ac9cf11a512e6d54c94a2e6a7ddaabc10cb5b9b.tar.zst passt-5ac9cf11a512e6d54c94a2e6a7ddaabc10cb5b9b.zip | |
tap, tcp, udp: Use rate-limited logging
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 <anskuma@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions
