diff options
author | Kuniyuki Iwashima <kuniyu@amazon.com> | 2024-12-13 14:08:42 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2024-12-17 14:08:27 +0300 |
commit | d460b04bc452cf15810b79c15381fffd9d201915 (patch) | |
tree | 7a7eca7aa1c855fb2e6f07b76591988948dbfe6e /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 6c444255b193b5b9c5a18c3784d960e10e1833a2 (diff) | |
download | linux-d460b04bc452cf15810b79c15381fffd9d201915.tar.xz |
af_unix: Clean up error paths in unix_stream_sendmsg().
If we move send_sig() to the SEND_SHUTDOWN check before
the while loop, then we can reuse the same kfree_skb()
after the pipe_err_free label.
Let's gather the scattered kfree_skb()s in error paths.
While at it, some style issues are fixed, and the pipe_err_free
label is renamed to out_pipe to match other label names.
Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions