diff options
author | 2021-11-15 19:16:56 +0900 | |
---|---|---|
committer | 2021-11-15 14:27:39 +0000 | |
commit | 938cca9e4109b30ee1d476904538225a825e54eb (patch) | |
tree | 9df7f8766c30609396f9e852fe9ef703b834303a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | tipc: only accept encrypted MSG_CRYPTO msgs (diff) | |
download | linux-dev-938cca9e4109b30ee1d476904538225a825e54eb.tar.xz linux-dev-938cca9e4109b30ee1d476904538225a825e54eb.zip |
sock: fix /proc/net/sockstat underflow in sk_clone_lock()
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.")
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions