diff options
author | 2024-12-13 20:08:48 +0900 | |
---|---|---|
committer | 2024-12-17 12:08:28 +0100 | |
commit | 106d979b85e575b0ab10224fcde5c3eb94566e05 (patch) | |
tree | a15cabada36f722e93f3bc38bc238be3f484022c /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | af_unix: Defer sock_put() to clean up path in unix_dgram_sendmsg(). (diff) | |
download | wireguard-linux-106d979b85e575b0ab10224fcde5c3eb94566e05.tar.xz wireguard-linux-106d979b85e575b0ab10224fcde5c3eb94566e05.zip |
af_unix: Clean up SOCK_DEAD error paths in unix_dgram_sendmsg().
When other has SOCK_DEAD in unix_dgram_sendmsg(), we hold
unix_state_lock() for the sender socket first.
However, we do not need it for sk->sk_type.
Let's move the lock down a bit.
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