summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorTetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>2021-11-15 19:16:56 +0900
committerDavid S. Miller <davem@davemloft.net>2021-11-15 14:27:39 +0000
commit938cca9e4109b30ee1d476904538225a825e54eb (patch)
tree9df7f8766c30609396f9e852fe9ef703b834303a /tools/perf/scripts/python/syscall-counts.py
parent271351d255b09e39c7f6437738cba595f9b235be (diff)
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/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions