From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by passt.top (Postfix, from userid 1000) id 019A05A0271; Tue, 01 Dec 2026 09:24:35 +0100 (CET) From: Stefano Brivio To: passt-dev@passt.top Subject: [PATCH 0/3] Fix Coverity Scan warnings triggered by recent commits Date: Tue, 1 Dec 2026 09:24:32 +0100 Message-ID: <20261201082435.1302453-1-sbrivio@redhat.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID-Hash: 66Z5YN4HHNRYEBMM2EOJKPEXPSOCKDPJ X-Message-ID-Hash: 66Z5YN4HHNRYEBMM2EOJKPEXPSOCKDPJ X-MailFrom: sbrivio@passt.top X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Laurent Vivier , Jon Maloy X-Mailman-Version: 3.3.8 Precedence: list List-Id: Development discussion and patches for passt Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: 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