[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<172754103430.2296359.10559830962789013229.git-patchwork-notify@kernel.org>
Date: Sat, 28 Sep 2024 16:30:34 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Nicolas Dichtel <nicolas.dichtel@...nd.com>
Cc: stephen@...workplumber.org, dsahern@...il.com, netdev@...r.kernel.org,
alexandre.ferrieux@...nge.com
Subject: Re: [PATCH iproute2 v2] iplink: fix fd leak when playing with netns
Hello:
This patch was applied to iproute2/iproute2.git (main)
by Stephen Hemminger <stephen@...workplumber.org>:
On Wed, 18 Sep 2024 18:49:41 +0200 you wrote:
> The command 'ip link set foo netns mynetns' opens a file descriptor to fill
> the netlink attribute IFLA_NET_NS_FD. This file descriptor is never closed.
> When batch mode is used, the number of file descriptor may grow greatly and
> reach the maximum file descriptor number that can be opened.
>
> This fd can be closed only after the netlink answer. Moreover, a second
> fd could be opened because some (struct link_util)->parse_opt() handlers
> call iplink_parse().
>
> [...]
Here is the summary with links:
- [iproute2,v2] iplink: fix fd leak when playing with netns
https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/commit/?id=57daf8ff8c6c
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists