Messages in this thread | | | Subject | Re: [PATCH net] net/9p: Fix a potential socket leak in p9_socket_open | From | patchwork-bot+netdevbpf@kernel ... | Date | Mon, 28 Nov 2022 11:10:31 +0000 |
| |
Hello:
This patch was applied to netdev/net.git (master) by David S. Miller <davem@davemloft.net>:
On Thu, 24 Nov 2022 16:10:05 +0800 you wrote: > Both p9_fd_create_tcp() and p9_fd_create_unix() will call > p9_socket_open(). If the creation of p9_trans_fd fails, > p9_fd_create_tcp() and p9_fd_create_unix() will return an > error directly instead of releasing the cscoket, which will > result in a socket leak. > > This patch adds sock_release() to fix the leak issue. > > [...]
Here is the summary with links: - [net] net/9p: Fix a potential socket leak in p9_socket_open https://git.kernel.org/netdev/net/c/dcc14cfd7deb
You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
| |