aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/net/lib/py/utils.py
diff options
context:
space:
mode:
authorKuniyuki Iwashima <[email protected]>2024-12-13 11:08:48 +0000
committerPaolo Abeni <[email protected]>2024-12-17 11:08:28 +0000
commit106d979b85e575b0ab10224fcde5c3eb94566e05 (patch)
treea15cabada36f722e93f3bc38bc238be3f484022c /tools/testing/selftests/net/lib/py/utils.py
parentaf_unix: Defer sock_put() to clean up path in unix_dgram_sendmsg(). (diff)
downloadkernel-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