diff options
author | Jakub Kicinski <kuba@kernel.org> | 2022-04-25 16:33:09 -0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-04-26 17:08:49 -0700 |
commit | c706b2b5ed74d30436b85cbd8e63e969f6b5873a (patch) | |
tree | 707615dbb8a4b712214f7b4676f6b3c8cf7bfbe5 /drivers/net/ethernet/realtek | |
parent | net: dsa: mt753x: fix pcs conversion regression (diff) | |
download | linux-dev-c706b2b5ed74d30436b85cbd8e63e969f6b5873a.tar.xz linux-dev-c706b2b5ed74d30436b85cbd8e63e969f6b5873a.zip |
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: Gal Pressman <gal@nvidia.com>
Fixes: 3547a1f9d988 ("tls: rx: use async as an in-out argument")
Tested-by: Gal Pressman <gal@nvidia.com>
Link: https://lore.kernel.org/r/20220425233309.344858-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/realtek')
0 files changed, 0 insertions, 0 deletions