🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #26736

Re: [PATCH net-next v8 0/2] selftests: net: veth: propagate check failures to exit status

#26736
From: patchwork-bot+netdevbpf
Date: Fri, 04 Dec 2026 05:00
31 lines
9491 bytes
Hello:

This series was applied to netdev/net-next.git (main)
by Willem de Bruijn <willemb@google.com>:

On Tue,  1 Dec 2026 08:12:04 +0100 you wrote:
> Four checks in tools/testing/selftests/net/veth.sh report failures
> without setting ret, allowing the script to exit 0 even when a check
> fails. Set ret=1 in chk_channels() and the three "bad setting"
> negative tests identified by Tianyi during review of v2.
> 
> Patch 1 fixes the invalid TX channel test, which used nproc + 1
> to determine an out-of-range value. However, nproc can be lower
> than num_possible_cpus() when CPU affinity or cpusets restrict
> a process, meaning the kernel may accept the requested queue count.
> This could cause false failures on a correctly functioning
> kernel once the propagation patch makes failures honest.
> 
> [...]

Here is the summary with links:
  - [net-next,v8,1/2] selftests: net: veth: derive invalid-tx test value from kernel max
    https://git.kernel.org/netdev/net-next/c/8c7c33b40c10
  - [net-next,v8,2/2] selftests: net: veth: propagate check failures to exit status
    https://git.kernel.org/netdev/net-next/c/912e6e578d91

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179636041564.834438.4365092761908559921.git-patchwork-notify@kernel.org>
Path: mbox-mo1.pugleaf.net!feed-us-txt.newsdeef.eu!feed-us-mo.newsdeef.eu!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-377063-linux-kernel-netdev=dewy.ru
References: <20261201071206.7311-1-emmaonana18@gmail.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!feed-us-txt.newsdeef.eu!feed-us-mo.newsdeef.eu!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-377063-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next v8 0/2] selftests: net: veth: propagate check
 failures to exit status
Date: Fri, 04 Dec 2026 05:00:15 +0000
Organization: Usenet Network
Message-ID: <179636041564.834438.4365092761908559921.git-patchwork-notify@kernel.org>
References: <20261201071206.7311-1-emmaonana18@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="2679091"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:jsVDpGhy6ZY9csD9INXQwSZN+6g= sha256:kCLr0MmDqOb0rNUBi7dUG8EvN6bHggr889n9GUBl0y0=
	sha1:o0EA8U1AxCAhEM1UN8udzvMxe8k= sha256:12e2/u7yyzjGytAtQeV8pESAhJlmP4Ih7p2wqtUy63g=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id 8A564117B08; Fri,  4 Dec 2026 08:00:49 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.639
X-Spam-Status: No, score=-3.639 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.24, DKIM_SIGNED=0.1,
	DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=kernel.org
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 6_eBv1aW06Fn;
	Fri,  4 Dec 2026 08:00:46 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-377063-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org
X-Received: from sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4])
	by mail.dewy.ru (Postfix) with ESMTPS id 88AA8117B05; Fri,  4 Dec 2026 08:00:30 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sin.lore.kernel.org (Postfix) with ESMTP id 1EE3F241FF; Fri,  4 Dec 2026 05:00:28 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1796360418;
	b=ARCnH5MnztHs39Cc852ej9ypLg2WcAJkzyt2gsZhctPAFO9KazujFC0XhKlhn9AKfjX6
	 Uk/vKxu5Budepqpif8FuoJGQM/9Cmz70q2MGB0DXGqFhbP1mqz2RwC93hvePBun8WWjDh
	 ZpekARcnm3EroZnUm0LYqo2XwiXUl2JvvFslzwnxTJmElHR/52DnuEd2UKFiO2Rnhbi2X
	 XM1iK5+QA/W/QQIIeMqqrNN7FKWeR8JlFkKI8crPFlvLhMpg5ebbwKm590Q5G7YtmHzuH
	 eMvVjKTnk3zU1vFLcLgGOKciVqfj1FMB/18ioY04tZReFWdb5l9f8PGQ/FPLLWXwH1A==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796360418;
	h=X-Original-To:Received:Received:DKIM-Signature:Received:Content-Type:
	 X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
	 List-Unsubscribe:List-Owner:Precedence:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=wmT9FCWVIvhiqOE1K6SGArmFgOPipbRwkdFx3JIPQ+U=;
	b=o3PubP78e0keGvUvgUMn+RbywBcLNx3hUeo1kgxUVp/z252CjNiuE6Q6ww1tQwaVzEpv
	 pDs8DnnW8OxB5SVfnmBHeCAE82MLBgKmKt6HslHtNFF3vbmSV/Z+7IGBkGyoa2MhUuux7
	 PSo8lYAkKmCpI0uAyvUBLVsMVILH6aDVNcsOzK08C4MppKUp0GkkL4zpefqJr9IVTfdzm
	 Lo/mELhYIik2e8IwBPZSrErS2fz4rCwATsGX1N7Nj64BDUkEzWepiaU7ugANwaH3DbWdI
	 yEX8AYexOkdUZrlgbDyrn0QR/XDcWGlYlr5LLBY27C4IVMQsRL2R8CykAwVIP4EQ01g==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b="fQeEY/+v";
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 86A3C606A696;
	Fri,  4 Dec 2026 05:00:18 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=fQeEY/+v
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1796360417;
	b=KX7zdpUL/3iZVqwlI0v8EOTeaoBYCw3qAUhuhIpesD8Z/SIx6qomViAtBhnvy8JmvATN
	 elqYcQYsijj296hNtmPYMXmneKuNopyOP4RfeANfHOt+VmpzZq/+Lsh1c0PLCoAsvoCI0
	 g+QvzBe5RAUaxZpPk1bbCKo+GQtx/USCj3BdAv2cWOAkkVxcDb55+EvvDGFcpFbF+vlRI
	 z8JF84xwgcrdS8tGN1R/saQoktj26F84JV/1yt3xMSfmEU+gSqGbBbyP1SY6l56jW/ZGB
	 iF1C7/y8oaYbxN1WYln22BjD78LoEI1h0Y8QhS0ql2gNRae72nc+BOjdgDUKiJFoBFw==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796360417;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=wmT9FCWVIvhiqOE1K6SGArmFgOPipbRwkdFx3JIPQ+U=;
	b=a29FVB0vWpaaG/1rTJHMauxQiPg9Lwvg2cwE6LP3x7Dq3lhjTAkU+qIF1LZyz1D5+Xqv
	 wgMhwUmCOmq4WMChe8K4KpTXpWNqcnyUyFM0Ein8CJ2nzBxVenCzSH8vC+KkaKNkyeWw/
	 W6KXFoKnI2dg25+oURF5b0Y5rpet382gmouX5MwuYS1X5+PsK5jAa8w4R9gXF/g8eEFU9
	 Esej+wplmQZoA1HSAzZzNZk9B4X7Sa18FHsDedguKm/ir0WUdl4x7MhzabAFaeMzsYnaR
	 QfAMrgo+fTnanv4JRsnJLsH7+b2tdDMKi8dC+bApWeDsE154vnBxPN5J8Z3ip26cznA==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b="fQeEY/+v";
	arc=none smtp.remote-ip=100.103.45.18
X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id A8CAA606A6A9;
	Fri,  4 Dec 2026 05:00:17 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3045C1F000C2;
	Fri,  4 Dec 2026 05:00:17 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1796360417;
	bh=wmT9FCWVIvhiqOE1K6SGArmFgOPipbRwkdFx3JIPQ+U=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=fQeEY/+vfSMBsyf/3QG+HVv1HSn66Z6rzh67Zyc97mI/ew9Y6rb3N0h1VhRPe46pl
	 OIzw/pbqnDutVzKbJZ314FOJt8avsdqUfFlQhq0he6qilZskqQUGCBBrhccDlpWE/j
	 seB4eAXr46C3XYZQWtCkjAGEQRfTog7fLZBhcUkFKQvTQDtt6UpgUQ7sN+zoxiCX3D
	 y1hYosXaTHEms4Zug6m4rsLs9dkdZ6e00iyCc0YjMR7ETlbgjLjOwrXOaKad7esDKC
	 AcCgkUXyMcraGiyFnujjlUTUOJSUQeDCxLhiOPJ1CTVCvybxmMsxoyj9R8HleqVzW+
	 Fe1VAhxdCkgUQ==
X-Received: from [10.30.226.235] (localhost [IPv6:::1])
	by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 1C9D83924A7A;
	Fri,  4 Dec 2026 05:00:17 +0000 (UTC)
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list
X-In-Reply-To: <20261201071206.7311-1-emmaonana18@gmail.com>
X-Cc: tianyi@cloudflare.com, hangbin.liu@linux.dev, willemb@google.com,
 kuba@kernel.org, netdev@vger.kernel.org, linux-kselftest@vger.kernel.org,
 linux-kernel@vger.kernel.org, bpf@vger.kernel.org, davem@davemloft.net,
 edumazet@kernel.org, pabeni@redhat.com, horms@kernel.org, shuah@kernel.org,
 ast@kernel.org, daniel@iogearbox.net, hawk@kernel.org,
 john.fastabend@gmail.com, sdf@fomichev.me, skhan@linuxfoundation.org,
 kernel-team@cloudflare.com, tianyi.gao@linux.dev