Article View: linux.kernel.netdev
Article #24730Re: [PATCH net-next] selftests: net: py: close the wait pipe after reaping a command
From: patchwork-bot+netdevbpf
Date: Mon, 30 Nov 2026 17:50
Date: Mon, 30 Nov 2026 17:50
25 lines
8739 bytes
8739 bytes
Hello:
This patch was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni@redhat.com>:
On Sun, 22 Nov 2026 15:48:27 +0000 you wrote:
> Commands started with ksft_wait keep the parent write end in ksft_term_fd.
> After communicate() reaps the child, that descriptor is still open, so
> each completed command leaks a pipe in the Python process.
>
> Close the parent end after successful communication and clear its saved
> value, before decoding output or reporting a failed child exit status.
> Leave paths where communication has not completed unchanged.
>
> [...]
Here is the summary with links:
- [net-next] selftests: net: py: close the wait pipe after reaping a command
https://git.kernel.org/netdev/net-next/c/df3ce1c37b94
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID:
<179606100450.3464695.1002309504303884985.git-patchwork-notify@kernel.org>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-374363-linux-kernel-netdev=dewy.ruReferences:
<20261122154827.1272059-1-xujingjing@cmss.chinamobile.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-374363-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net-next] selftests: net: py: close the wait pipe after reaping a command Date: Mon, 30 Nov 2026 17:50:04 +0000 Organization: Usenet Network Message-ID: <179606100450.3464695.1002309504303884985.git-patchwork-notify@kernel.org> References: <20261122154827.1272059-1-xujingjing@cmss.chinamobile.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="1491432"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:lgSOosGcVNjBdnpf4pMKSOgTNlE= sha256:erd41ZZQENRbNFgU01NN6XO7pOI/b7b1A6trFDQwdgY= sha1:5sziFsZyFOFryjb6X07xkB23i/M= sha256:WSgDnv9NpWSXaq+pT5BHozM+7aC0CSJ9I2baTzBJR68= 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 0CC2B125FFC; Mon, 30 Nov 2026 20:50:21 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.401 X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, 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 b8lv1_tG_wGv; Mon, 30 Nov 2026 20:50:17 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-374363-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 sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) by mail.dewy.ru (Postfix) with ESMTPS id CD5DD125FF6; Mon, 30 Nov 2026 20:50:08 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sea.lore.kernel.org (Postfix) with ESMTP id 3EB8127EE3; Mon, 30 Nov 2026 17:50:07 +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=1796061007; b=pGXpoY6QtJoQvrggbDXB19SHNQWf+UZ/LOgwbBJySYWsrmoIkLVUxulHTeqyaOSTdiBo hykG/KNJnshKZuYmNJ5Tku4IVqWd8TUzFebnmaMwU/Ei41TCzc6TPmz46ICEwdyFat/jV PcKQuQAlqlDYshExDuSmAJepm1KFsHup+9xU4hMeGw6hAls2uPcynyHo+S7FiHvex7sxK AWKPCx91NQ24POA2wVeHuryZ+hT8H3bTzDeF0uI3Z98sMWfsPqYcf4WogkheJUxg5RtSj XiQ2WXniS2LpW4hJ3WUzAgtKQsFvv2RA7mBBRS2dEeM2b22IQhVYHqRcKs99XKYpbJw== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796061007; 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=QVxoitgiaItIk0F+BhOQ7nxX4Pikdfqns+BCiLmNYLw=; b=eCt2pXxijT/lbAigJCU77yVKM857N2/gr339Z13Wwp+bkcyBuqqekb7MmcWvQfgqwowN Mm6kFXfe6s2fDJgMuE3Nn3xm2pvqWmlysnOT+TZAXTNIlVzSN5yDVaFsf3W39ry+6IsyL 0jTg42wvkunLoFljyCpgBDW/pL8qfhMBnQc42GeCL6l7BGrw8pLDYoTaTzvVZFokIjsOF jKgDjs8834if+BX2wlfddARKr4FiWSrBuvG9bt+PSwtWWC8UMnR+4cVeM2dX9ounG2rvK qegMOaJcmoI5aGFV9+Pl/S634hAkXTdvab0mMdQl71Z9FX0ja5hfSGEAUuZZYsgc7sQ== 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="ce0u/mEW"; 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 16803606A32D; Mon, 30 Nov 2026 17:50:07 +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=ce0u/mEW 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=1796061006; b=rCnxzjWQ42fGha4k12YWQnPjUSApziDEDvuX8eTzMyfg4UGkBkQPe/M/hhVWo3MqPjgN qJ3cEauoNzb9kp7pLjNsUZHW02L9kArCQMpOHGHg92HCr1JL/h1RN+LEZvVcCPYJNGgDP nn8zltrEzHoMQF6hkxyg8PofG5eu1U1HCEsmSOU/X4Tf/cjMRZlVsSK+Sy/DY3F+FtCnK XjUBe07LmmiuYLgzp8Lu3fqlSXP5n9AScKSCfvIxshOXI7xfWo/7HNotX0fyZ8AzgqKRP plNMe2+HSzsRKCgRPLqI7nr50Vs4TiuElS5wvcHA2zGfaYzqk3I+ddc2abdspSgfPSQ== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796061006; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=QVxoitgiaItIk0F+BhOQ7nxX4Pikdfqns+BCiLmNYLw=; b=xs8nC8sNalFOdVOI8X8c6TW0w5mFWhYKTSxi/dKI2zBz66o6ZaKsIX6zWpv9esGrv/3I jSbSttv9Adn+2Was7sl16nA4w5g0a+gSq3pCptykWMuPmOdVD5OsA86ptIFbHJKmesLEp gmw2Yo9oBGqhst1qM6Tuk+finB12hJ+dbMGPqs1nlCf77JYh9x/T0uLfssR+oRxUeRJNL tPbovsf8zuSqVr0hcX4uedO0hrJQfBtUk+k9+qVQyiXDjfUPO0Aye2NdBNtZeJmfKtVd9 Bg9yRIhVb114H57ti0eO516e17ZMnIpU54jdwKY0D4rY21afvjTIDRbgAGzPq00WmmQ== 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="ce0u/mEW"; 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 3468A606A31C; Mon, 30 Nov 2026 17:50:05 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id B71101F000C1; Mon, 30 Nov 2026 17:50:05 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796061005; bh=QVxoitgiaItIk0F+BhOQ7nxX4Pikdfqns+BCiLmNYLw=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=ce0u/mEWdO4mObJMp0QG56X2UajRoeZTqlFckKYivtsk31ZlV7AnQeF2NQ2qEI6ag IHkQH5IAwJnRs9KU5t4xA7+ssgW/W0cNzf8hzX3ZElLB8/G1NCVUaMUrW3A74MLiqv NCroqvgM0xWKwxW4sqJ9m03xFIQrMuO0xtVtwnatxl87iX6grqMM/sknU5aAsdhSc1 8Kog1pXIsPXpugO1WSon9GvRoZPxGCeM9tuluu3Di1kkw12CZbgCnelkWIaLHgzWYO dN0WJrBxEBNBU0qUVMDEfG42bW6tntrzv9f1ZTMmB01Mgoj31BLpnG7IqTZVScqJN3 asxIsd/s8NzUw== 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 AE89B39E8A66; Mon, 30 Nov 2026 17:50:05 +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: <20261122154827.1272059-1-xujingjing@cmss.chinamobile.com> X-Cc: netdev@vger.kernel.org, linux-kselftest@vger.kernel.org, kuba@kernel.org, edumazet@kernel.org, pabeni@redhat.com, horms@kernel.org, shuah@kernel.org, sdf@fomichev.me, joe@dama.to