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:45 +0000
committerPaolo Abeni <[email protected]>2024-12-17 11:08:28 +0000
commit3c05329a2abe312ed85a60a325b930063f61e817 (patch)
tree69c4c9e71f1f94b5b5aa3112f56da950d5e67056 /tools/testing/selftests/net/lib/py/utils.py
parentaf_unix: Move !sunaddr case in unix_dgram_sendmsg(). (diff)
downloadkernel-3c05329a2abe312ed85a60a325b930063f61e817.tar.gz
kernel-3c05329a2abe312ed85a60a325b930063f61e817.zip
af_unix: Use msg->{msg_name,msg_namelen} in unix_dgram_sendmsg().
In unix_dgram_sendmsg(), we use a local variable sunaddr pointing NULL or msg->msg_name based on msg->msg_namelen. Let's remove sunaddr and simplify the usage. 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