]> www.infradead.org Git - users/hch/misc.git/commit
inet: reduce inet_csk_clone_lock() indent level
authorEric Dumazet <edumazet@google.com>
Wed, 12 Feb 2025 13:13:27 +0000 (13:13 +0000)
committerJakub Kicinski <kuba@kernel.org>
Fri, 14 Feb 2025 21:40:33 +0000 (13:40 -0800)
commit55250b83b02aa5ffe602987adb2c05178c87ac63
tree965378521884e44e691a7b8f1b6234c3de09bf81
parenta045e40645dfa02a68c17ad8a3c92a8ef62375b0
inet: reduce inet_csk_clone_lock() indent level

Return early from inet_csk_clone_lock() if the socket
allocation failed, to reduce the indentation level.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Link: https://patch.msgid.link/20250212131328.1514243-2-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/ipv4/inet_connection_sock.c