summaryrefslogtreecommitdiff
path: root/rust/kernel
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 /rust/kernel
parentf4dd63165b08ba3b72117973d5daea456f36377d (diff)
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 'rust/kernel')
0 files changed, 0 insertions, 0 deletions