diff options
| author | Kuniyuki Iwashima <[email protected]> | 2025-01-16 05:34:41 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-01-20 19:27:42 +0000 |
| commit | 3b2d40dc13c26a4efde438beb664576d20a9fb4a (patch) | |
| tree | b4f824edca2549a0f1806dc497b341161a42f2ce /tools/net/ynl/pyynl/cli.py | |
| parent | af_unix: Set drop reason in unix_dgram_disconnected(). (diff) | |
| download | kernel-3b2d40dc13c26a4efde438beb664576d20a9fb4a.tar.gz kernel-3b2d40dc13c26a4efde438beb664576d20a9fb4a.zip | |
af_unix: Reuse out_pipe label in unix_stream_sendmsg().
This is a follow-up of commit d460b04bc452 ("af_unix: Clean up
error paths in unix_stream_sendmsg().").
If we initialise skb with NULL in unix_stream_sendmsg(), we can
reuse the existing out_pipe label for the SEND_SHUTDOWN check.
Let's rename it and adjust the existing label as out_pipe_lock.
While at it, size and data_len are moved to the while loop scope.
Suggested-by: Paolo Abeni <[email protected]>
Signed-off-by: Kuniyuki Iwashima <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/net/ynl/pyynl/cli.py')
0 files changed, 0 insertions, 0 deletions
