aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorKuniyuki Iwashima <kuniyu@amazon.com>2024-12-13 20:08:45 +0900
committerPaolo Abeni <pabeni@redhat.com>2024-12-17 12:08:28 +0100
commit3c05329a2abe312ed85a60a325b930063f61e817 (patch)
tree69c4c9e71f1f94b5b5aa3112f56da950d5e67056 /tools/testing/selftests/bpf/prog_tests/autoload.c
parentaf_unix: Move !sunaddr case in unix_dgram_sendmsg(). (diff)
downloadlinux-3c05329a2abe312ed85a60a325b930063f61e817.tar.gz
linux-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 <kuniyu@amazon.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions