# Re: \[PATCH net\] Phonet: refcount leak in pep\_sock\_accep

- From: patchwork-bot+netdevbpf@kernel.org
- Date: 2021-12-11 04:40:15 
- List: netdev
- Page: https://ratatoskr.run/netdev/2021/12/1604748
- Thread: https://ratatoskr.run/netdev/2021/12/1602168/t.md

```text
Hello:

This patch was applied to netdev/net.git (master)
by Jakub Kicinski [ref]:

On Thu,  9 Dec 2021 16:28:39 +0800 you wrote:
> sock_hold(sk) is invoked in pep_sock_accept(), but __sock_put(sk) is not
> invoked in subsequent failure branches(pep_accept_conn() != 0).
> 
> Signed-off-by: Hangyu Hua <redacted>
> ---
>  net/phonet/pep.c | 1 +
>  1 file changed, 1 insertion(+)

Here is the summary with links:
  - [net] Phonet: refcount leak in pep_sock_accep
    https://git.kernel.org/netdev/net/c/bcd0f9335332

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html


```
