public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
* [PATCH 0/3] Fix Coverity Scan warnings triggered by recent commits
@ 2026-12-01  8:24 Stefano Brivio
  2026-12-01  8:24 ` [PATCH 1/3] tcp: Fix return value of tcp_tap_handler() on SO_PEEK_OFF failure Stefano Brivio
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Stefano Brivio @ 2026-12-01  8:24 UTC (permalink / raw)
  To: passt-dev; +Cc: Laurent Vivier, Jon Maloy

Coverity started reporting the issue fixed in 1/3 with 6637c202f261
("tap: Explicitly drop outbound IPv6 fragments, warn about them") but
only with a given combination of recent commits, for some reason.

Patch 2/3 makes that kind of error (harmless, in this case) less
likely.

Patch 3/3 takes care of a warning on pre-existing code, that only
appeared now due to a related commit.

Stefano Brivio (3):
  tcp: Fix return value of tcp_tap_handler() on SO_PEEK_OFF failure
  icmp, tcp, udp: Change Layer-4 protocol handlers to return unsigned
  fwd: Check return value of lineread_get() for /proc/net entries before
    proceeding

 fwd.c  |  6 +++++-
 icmp.c |  7 ++++---
 icmp.h |  7 ++++---
 tcp.c  | 11 ++++++-----
 tcp.h  |  7 ++++---
 udp.c  |  8 ++++----
 udp.h  |  8 ++++----
 7 files changed, 31 insertions(+), 23 deletions(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-12-01  8:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-12-01  8:24 [PATCH 0/3] Fix Coverity Scan warnings triggered by recent commits Stefano Brivio
2026-12-01  8:24 ` [PATCH 1/3] tcp: Fix return value of tcp_tap_handler() on SO_PEEK_OFF failure Stefano Brivio
2026-12-01  8:24 ` [PATCH 2/3] icmp, tcp, udp: Change Layer-4 protocol handlers to return unsigned Stefano Brivio
2026-12-01  8:24 ` [PATCH 3/3] fwd: Check return value of lineread_get() for /proc/net entries before proceeding Stefano Brivio

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).