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)
commitbfc06e1aaa130b86a81ce3c41ec71a2f5e191690
tree1a7011e019fb8efc32c41d7d01f73ab78c19f845
parentdc2e0617f1fd0c5a6f601502b4379113a84ffecf
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