net: reduce indentation level in sk_clone_lock()
authorEric Dumazet <edumazet@google.com>
Wed, 27 Jan 2021 15:27:31 +0000 (07:27 -0800)
committerJakub Kicinski <kuba@kernel.org>
Thu, 28 Jan 2021 19:02:39 +0000 (11:02 -0800)
commitbbc20b70424aeb3c84f833860f6340adda5141fc
tree1a2edfc1d689a9164e2a2a34f4012d169ebbc69d
parentd1f3bdd4eaae1222063c2f309625656108815915
net: reduce indentation level in sk_clone_lock()

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>
net/core/sock.c