]> git.baikalelectronics.ru Git - kernel.git/commit
tls: rx: jump to a more appropriate label
authorJakub Kicinski <kuba@kernel.org>
Fri, 8 Apr 2022 03:38:14 +0000 (20:38 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Apr 2022 10:49:07 +0000 (11:49 +0100)
commit01f41611e604f7a02840fefe52d787e9904183d7
tree1a7011e019fb8efc32c41d7d01f73ab78c19f845
parentbec508844b790213db7343864903cfda1780db5c
tls: rx: jump to a more appropriate label

'recv_end:' checks num_async and decrypted, and is then followed
by the 'end' label. Since we know that decrypted and num_async
are 0 at the start we can jump to 'end'.

Move the init of decrypted and num_async to let the compiler
catch if I'm wrong.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tls/tls_sw.c