]> git.hungrycats.org Git - linux/commit
tls: rx: refactor decrypt_skb_update()
authorJakub Kicinski <kuba@kernel.org>
Fri, 8 Apr 2022 03:38:22 +0000 (20:38 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 6 Mar 2024 14:38:47 +0000 (14:38 +0000)
commit432d40036f173275fc89f2c154ce927ccb568b7a
tree1127f99bd117e62be14a6539f7a7aa5b0378966c
parent17d8bda2a6fdb49938d74e8018700e5ae1be1482
tls: rx: refactor decrypt_skb_update()

[ Upstream commit 3764ae5ba6615095de86698a00e814513b9ad0d5 ]

Use early return and a jump label to remove two indentation levels.
No functional changes.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Stable-dep-of: f7fa16d49837 ("tls: decrement decrypt_pending if no async completion will be called")
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/tls/tls_sw.c