[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<169520762284.31903.2503841633352666153.git-patchwork-notify@kernel.org>
Date: Wed, 20 Sep 2023 11:00:22 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Ruan Jinjie <ruanjinjie@...wei.com>
Cc: kernel-tls-handshake@...ts.linux.dev, netdev@...r.kernel.org,
chuck.lever@...cle.com, davem@...emloft.net, edumazet@...gle.com,
kuba@...nel.org, pabeni@...hat.com
Subject: Re: [PATCH] net/handshake: Fix memory leak in __sock_create() and
sock_alloc_file()
Hello:
This patch was applied to netdev/net.git (main)
by David S. Miller <davem@...emloft.net>:
On Tue, 19 Sep 2023 18:44:06 +0800 you wrote:
> When making CONFIG_DEBUG_KMEMLEAK=y and CONFIG_DEBUG_KMEMLEAK_AUTO_SCAN=y,
> modprobe handshake-test and then rmmmod handshake-test, the below memory
> leak is detected.
>
> The struct socket_alloc which is allocated by alloc_inode_sb() in
> __sock_create() is not freed. And the struct dentry which is allocated
> by __d_alloc() in sock_alloc_file() is not freed.
>
> [...]
Here is the summary with links:
- net/handshake: Fix memory leak in __sock_create() and sock_alloc_file()
https://git.kernel.org/netdev/net/c/4a0f07d71b04
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