[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <163655520832.19242.11820946146081406943.git-patchwork-notify@kernel.org>
Date: Wed, 10 Nov 2021 14:40:08 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Eiichi Tsukata <eiichi.tsukata@...anix.com>
Cc: sgarzare@...hat.com, davem@...emloft.net, kuba@...nel.org,
virtualization@...ts.linux-foundation.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH net v2] vsock: prevent unnecessary refcnt inc for nonblocking
connect
Hello:
This patch was applied to netdev/net.git (master)
by David S. Miller <davem@...emloft.net>:
On Tue, 9 Nov 2021 00:15:02 +0000 you wrote:
> Currently vosck_connect() increments sock refcount for nonblocking
> socket each time it's called, which can lead to memory leak if
> it's called multiple times because connect timeout function decrements
> sock refcount only once.
>
> Fixes it by making vsock_connect() return -EALREADY immediately when
> sock state is already SS_CONNECTING.
>
> [...]
Here is the summary with links:
- [net,v2] vsock: prevent unnecessary refcnt inc for nonblocking connect
https://git.kernel.org/netdev/net/c/c7cd82b90599
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