Thread (6 messages) flat view 6 messages, 3 authors, 2021-11-15

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

Hello:

This patch was applied to netdev/net.git (master)
by David S. Miller [off-list 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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help