public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
From: Stefano Brivio <sbrivio@redhat.com>
To: passt-dev@passt.top
Cc: Laurent Vivier <lvivier@redhat.com>, Jon Maloy <jmaloy@redhat.com>
Subject: [PATCH 0/3] Fix Coverity Scan warnings triggered by recent commits
Date: Tue,  1 Dec 2026 09:24:32 +0100	[thread overview]
Message-ID: <20261201082435.1302453-1-sbrivio@redhat.com> (raw)

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


             reply	other threads:[~2026-12-01  8:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-01  8:24 Stefano Brivio [this message]
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

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=20261201082435.1302453-1-sbrivio@redhat.com \
    --to=sbrivio@redhat.com \
    --cc=jmaloy@redhat.com \
    --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).