Skip to content
Commit c706b2b5 authored by Jakub Kicinski's avatar Jakub Kicinski
Browse files

net: tls: fix async vs NIC crypto offload



When NIC takes care of crypto (or the record has already
been decrypted) we forget to update darg->async. ->async
is supposed to mean whether record is async capable on
input and whether record has been queued for async crypto
on output.

Reported-by: default avatarGal Pressman <gal@nvidia.com>
Fixes: 3547a1f9

 ("tls: rx: use async as an in-out argument")
Tested-by: default avatarGal Pressman <gal@nvidia.com>
Link: https://lore.kernel.org/r/20220425233309.344858-1-kuba@kernel.org
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent fae46308
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment