Article View: linux.kernel.netdev
Article #26152Re: [PATCH v2] selftests: netfilter: fix nft_nat_zones.sh diagnostics
From: patchwork-bot+netdevbpf
Date: Thu, 03 Dec 2026 04:40
Date: Thu, 03 Dec 2026 04:40
27 lines
8988 bytes
8988 bytes
Hello:
This patch was applied to netdev/net-next.git (main)
by Willem de Bruijn <willemb@google.com>:
On Wed, 25 Nov 2026 16:44:16 +0800 you wrote:
> nft_nat_zones.sh starts all client pings in the background and then
> uses a bare wait to collect them. In bash, wait with no arguments
> returns zero after all known children have been waited for, so a ping
> failure does not set ret. The diagnostic after that wait is also outside
> the client loop, so it would name only the final client even if it ran.
>
> Store each ping PID and wait for it next to the matching client
> namespace. This makes failed pings set ret and reports the client that
> actually failed.
>
> [...]
Here is the summary with links:
- [v2] selftests: netfilter: fix nft_nat_zones.sh diagnostics
https://git.kernel.org/netdev/net-next/c/9065c850b80d
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID:
<179627281525.2359732.15935342758824810123.git-patchwork-notify@kernel.org>Path:
mbox-mo1.pugleaf.net!news-lon.pugleaf.net!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.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-376295-linux-kernel-netdev=dewy.ruReferences:
<20261125084416.23282-1-zhiqizhangg@gmail.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lon.pugleaf.net!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.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-376295-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH v2] selftests: netfilter: fix nft_nat_zones.sh diagnostics Date: Thu, 03 Dec 2026 04:40:15 +0000 Organization: Usenet Network Message-ID: <179627281525.2359732.15935342758824810123.git-patchwork-notify@kernel.org> References: <20261125084416.23282-1-zhiqizhangg@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="2143800"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:WEG+pMvoRLQNMMiZbxVzDUz96ws= sha256:XluCBsL6a7Cvga/t1/y6yNL4Bb2zObrKNWnH8Rd+sY0= sha1:TeL4p4TTx8toOe+U6AraG1yiTK0= sha256:DwbS5JgD0AwAuHLpAS1OgY+Uo+brHtyp9YJlBqlwQyI= 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 746E4117820; Thu, 3 Dec 2026 07:40:56 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.501 X-Spam-Status: No, score=-3.501 tagged_above=-9999 required=6.31 tests=[DKIMWL_WL_HIGH=-0.001, 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] 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 v5mTMsKbn-12; Thu, 3 Dec 2026 07:40:53 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-376295-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 tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114]) by mail.dewy.ru (Postfix) with ESMTPS id 0D11E11781A; Thu, 3 Dec 2026 07:40:44 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by tor.lore.kernel.org (Postfix) with ESMTP id E05DF28B69; Thu, 3 Dec 2026 04:40:37 +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=1796272823; b=s5QTKdiFMo89csMxg3r3iiyrKRmm3KdjYUE286/6RprhgpI634iuPlURxrAhKu9QC6Tp OJgr1VceShfM+wm7zf/8ocwp8b1MtZSduqFqR4H3YXSvpd5v548U+plxh5/FkQqrgspZr mc6cWQTa2gnLhxqzv790hmH1HnLTMNqULKkdqAts+BaBvbrd75WHBlIDQIpyNzLkhayrz gGl27NWLEvmJgs54LHmQit0h1sZbHKKa3X49iZYOfv4wkKh3j2OhmEDIvK6HsyiguLHBA CzQW9v3BbfT+zTzU+MkJnX3+BwVxGc3gvdykgOOwckC3WAWC9Mktwu/lJnOV35BUpwg== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796272823; 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=wYgL21y3dACIkMIw0whzNRTth7RvglxpyYxzaxk/GhA=; b=0QWgOO/8QDX6izJT2QLfRaAwuTRqpCMU/EHgXK50b72BYlvS+rAJX4SBPhlCXeoqPoUT axlXzgmIwUZD/kFk5PMvIGSiwdkbJEjS3tN8YqSI/n5Y+KXZhHI76eS55So3UK2/aw2R5 cap+KXKBCvdkCtqCzrUrf8WWhBeKL87sVN08+bW7knMiHgn6l6qmHmSZyPiFM/pBb53KW 4iykp7cVTSZ+7ZfDrBoc8URxQnk3QvtVSRiQhus8Bt4xdZWez/tByNzNuK6inSzAsXZig m1yk2r2h6bC6Gg1B0jJqGoBVrm2uCTShgSw+rkw68VTax2ys8OQXRJoHouZOmIbjiXg== 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=H1Q9BKG+; 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 0E8A1606A6A4; Thu, 3 Dec 2026 04:40:23 +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=H1Q9BKG+ 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=1796272817; b=zAYDB7UziSq6P3uB7+DVX9B0DtoG84mZAIrKe+KTNg6wFDJocQx9L5bCoktv3o6SawZk ztUWqqZNWW+QtnS6djWG+Rc5g3M8d7EXND/hiOiT+m5XvFjtDAXU4ngNPKKqlKBz7Z/8T U4TrWnaHJH9C+OR+1SA5ovbuoOHGQELOC/idfW0+Nz8O6AaOLL6K8g2Euipsyd2Rr/p8G tmMBs0o6Ku30LIN0qPVhS5e6twl+BwP9F8i0IEkr34JYfEtK+IKmAHLv5RHfbxbLYOih6 QZrLafCdU4EHTxB4BDtMw5FdSxx6PVc0TZbpPl87uEm86mxrajjajTGhnEHfabhrQqQ== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796272817; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=wYgL21y3dACIkMIw0whzNRTth7RvglxpyYxzaxk/GhA=; b=ChtkEouy883I478AWIhT4Owpwt3My9u+ZYy6iuua8pPG360OntMP4DdiG7FSf64OBfYD 0D0M+12gMk/O4WJkruK/qlZ+lYLm8OXSoeiMGb8P6RF/CSfH+lZs1iQzGwAO1q7VEaR/F snPriug5GjuP1nY9S70IBsJj2Fgi5quHwuR2dWJ1xCZ+QD7Dq5PzMNrOmmIu6WRrUB8/u 91ehP99IuP+r30hKW+tCWgtyeR/lYae4HSfGmQwWoy8aveM2FzAGl8v84uajR7EXXYDB4 u+2mtxZUys0FXnYWI/cAIlf9tO7B9H7dcL1rhSBhmwY2Pgxr5XUipGAaM6zm8rJVhNQ== 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=H1Q9BKG+; 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 2EDCA606A6B4; Thu, 3 Dec 2026 04:40:16 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id BB0341F008A0; Thu, 3 Dec 2026 04:40:16 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796272816; bh=wYgL21y3dACIkMIw0whzNRTth7RvglxpyYxzaxk/GhA=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=H1Q9BKG+pl7aYHkg5kDnnVnIXZKGadKhQnO8JElZKkeZmbAkkZKuD3laY4ieSIThf +AR1+K4HIyGfE66Im/dwXcuBphvZ5CoQnAvVtDoOWW5+caKFERfroakloU1jrQLGiQ G5TdCLzKz//7tsgPHzp5ZrILKsuoZ7FooJx4bqTE/wdDUIhP1CtKsB3rmHQRtJyJq/ a/B2t+eHcrd/WTtldeQl40tMYzgMLw97Bj7Q3YZU8IOYWf6nZiUcC5EPVFimoa9fOU JgTmnZQKx91b693cM8P4Hr/vu7VVhWWsq07RUNjh9FM40KaI2d6wVhtk6B+DKJ2dEZ 3vlfB+47R8KEw== 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 AE8233808236; Thu, 3 Dec 2026 04:40:16 +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: <20261125084416.23282-1-zhiqizhangg@gmail.com> X-Cc: pablo@netfilter.org, fw@strlen.de, phil@nwl.cc, davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com, horms@kernel.org, shuah@kernel.org, netfilter-devel@vger.kernel.org, coreteam@netfilter.org, netdev@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org