diff options
| author | Kuniyuki Iwashima <[email protected]> | 2024-12-13 11:08:48 +0000 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2024-12-17 11:08:28 +0000 |
| commit | 106d979b85e575b0ab10224fcde5c3eb94566e05 (patch) | |
| tree | a15cabada36f722e93f3bc38bc238be3f484022c /tools/testing/selftests/net/lib/py/utils.py | |
| parent | af_unix: Defer sock_put() to clean up path in unix_dgram_sendmsg(). (diff) | |
| download | kernel-106d979b85e575b0ab10224fcde5c3eb94566e05.tar.gz kernel-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 <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions
