From: patchwork-bot+netdevbpf@kernel.org
To: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Cc: stephen@networkplumber.org, dsahern@gmail.com, netdev@vger.kernel.org
Subject: Re: [PATCH iproute2] ipnetns: fix fd leak with 'ip netns set'
Date: Thu, 11 May 2023 21:20:21 +0000 [thread overview]
Message-ID: <168384002125.32472.1396715428795599326.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20230511144224.26975-1-nicolas.dichtel@6wind.com>
Hello:
This patch was applied to iproute2/iproute2.git (main)
by Stephen Hemminger <stephen@networkplumber.org>:
On Thu, 11 May 2023 16:42:24 +0200 you wrote:
> There is no reason to open this netns file. set_netnsid_from_name() uses
> netns_get_fd() for this purpose and uses the returned fd.
>
> Reported-by: Stephen Hemminger <stephen@networkplumber.org>
> Fixes: d182ee1307c7 ("ipnetns: allow to get and set netns ids")
> Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
>
> [...]
Here is the summary with links:
- [iproute2] ipnetns: fix fd leak with 'ip netns set'
https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/commit/?id=465e87a89c13
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:[~2023-05-11 21:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-11 14:42 [PATCH iproute2] ipnetns: fix fd leak with 'ip netns set' Nicolas Dichtel
2023-05-11 21:20 ` 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=168384002125.32472.1396715428795599326.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel.org \
--cc=dsahern@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=nicolas.dichtel@6wind.com \
--cc=stephen@networkplumber.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.