# Re: \[PATCH v2\] sock: fix /proc/net/sockstat underflow in sk\_clone\_lock()

- From: patchwork-bot+netdevbpf@kernel.org
- Date: 2021-11-15 14:50:10 
- List: netdev
- Page: https://ratatoskr.run/netdev/2021/11/11216070
- Thread: https://ratatoskr.run/netdev/2021/11/11216013/t.md

```text
Hello:

This patch was applied to netdev/net.git (master)
by David S. Miller [ref]:

On Mon, 15 Nov 2021 19:16:56 +0900 you wrote:
> sk_clone_lock() needs to call sock_inuse_add(1) before entering the
> sk_free_unlock_clone() error path, for __sk_free() from sk_free() from
> sk_free_unlock_clone() calls sock_inuse_add(-1).
> 
> Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
> Fixes: 648845ab7e200993 ("sock: Move the socket inuse to namespace.")
> 
> [...]

Here is the summary with links:
  - [v2] sock: fix /proc/net/sockstat underflow in sk_clone_lock()
    https://git.kernel.org/netdev/net/c/938cca9e4109

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


```
