net: reduce indentation level in sk_clone_lock()
authorEric Dumazet <edumazet@google.com>
Wed, 27 Jan 2021 15:27:31 +0000 (07:27 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 26 Nov 2021 09:39:14 +0000 (10:39 +0100)
commit4da14ddad19fcaab5087bc54eed3d49ea68a38fc
treeddb6a260ed969e934c323db4a494d75bb1512fe5
parent9c3c2ef6ca2618c64f925b28a9d31a0d1212cd15
net: reduce indentation level in sk_clone_lock()

[ Upstream commit bbc20b70424aeb3c84f833860f6340adda5141fc ]

Rework initial test to jump over init code
if memory allocation has failed.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Link: https://lore.kernel.org/r/20210127152731.748663-1-eric.dumazet@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/core/sock.c