diff options
author | 2024-12-13 20:08:49 +0900 | |
---|---|---|
committer | 2024-12-17 12:08:28 +0100 | |
commit | 62c6db251e667e8a240dc8209c00313240120fd6 (patch) | |
tree | 61df709ebd4a189c0182c2494cffeab2bd9e6021 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | af_unix: Clean up SOCK_DEAD error paths in unix_dgram_sendmsg(). (diff) | |
download | wireguard-linux-62c6db251e667e8a240dc8209c00313240120fd6.tar.xz wireguard-linux-62c6db251e667e8a240dc8209c00313240120fd6.zip |
af_unix: Clean up error paths in unix_dgram_sendmsg().
The error path is complicated in unix_dgram_sendmsg() because there
are two timings when other could be non-NULL: when it's fetched from
unix_peer_get() and when it's looked up by unix_find_other().
Let's move unix_peer_get() to the else branch for unix_find_other()
and clean up the error paths.
Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions