]> 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)
commit3516a232647088659736c92d2d4847e2d16388b1
tree1a7011e019fb8efc32c41d7d01f73ab78c19f845
parente85c2726029d332ee308120951e4a37c1abff4e0
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