From: patchwork-bot+netdevbpf@kernel.org
To: Jingjing Xu <xujingjing@cmss.chinamobile.com>
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
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 [thread overview]
Message-ID: <179606100450.3464695.1002309504303884985.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20261122154827.1272059-1-xujingjing@cmss.chinamobile.com>
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
prev parent reply other threads:[~2026-11-30 17:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-22 15:48 [PATCH net-next] selftests: net: py: close the wait pipe after reaping a command Jingjing Xu
2026-11-30 17:42 ` Paolo Abeni
2026-11-30 17:50 ` patchwork-bot+netdevbpf [this message]
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=179606100450.3464695.1002309504303884985.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel.org \
--cc=edumazet@kernel.org \
--cc=horms@kernel.org \
--cc=joe@dama.to \
--cc=kuba@kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=sdf@fomichev.me \
--cc=shuah@kernel.org \
--cc=xujingjing@cmss.chinamobile.com \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox