inet6: Clean up failure path in do_ipv6_setsockopt().
authorKuniyuki Iwashima <kuniyu@amazon.com>
Wed, 19 Oct 2022 22:36:03 +0000 (15:36 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Oct 2022 08:40:39 +0000 (09:40 +0100)
commitb45a337f061e131bd01b6df2d89f1228d4350a85
treee4be7dced15359adc7c6a00b3890d9ae0e7a4b0f
parent1f8c4eeb945553baf868bbec7a8c59810df97a07
inet6: Clean up failure path in do_ipv6_setsockopt().

We can reuse the unlock label above and need not repeat the same code.

Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ipv6_sockglue.c