diff options
| author | Kuniyuki Iwashima <kuniyu@amazon.com> | 2024-12-13 20:08:49 +0900 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2024-12-17 12:08:28 +0100 |
| commit | 62c6db251e667e8a240dc8209c00313240120fd6 (patch) | |
| tree | 61df709ebd4a189c0182c2494cffeab2bd9e6021 /scripts/generate_rust_analyzer.py | |
| parent | 106d979b85e575b0ab10224fcde5c3eb94566e05 (diff) | |
af_unix: Clean up error paths in unix_dgram_sendmsg().
The error path is complicated in unix_dgram_sendmsg() because there
are two timings when other could be non-NULL: when it's fetched from
unix_peer_get() and when it's looked up by unix_find_other().
Let's move unix_peer_get() to the else branch for unix_find_other()
and clean up the error paths.
Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions
