diff options
author | Jakub Kicinski <jakub.kicinski@netronome.com> | 2020-01-10 13:38:32 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-01-10 20:20:46 +0100 |
commit | db885e66d268884dc72967279b7e84f522556abc (patch) | |
tree | f35e8641beeca511e3340a7b604c1532c172a3a1 /certs | |
parent | net/tls: avoid spurious decryption error with HW resync (diff) | |
download | linux-db885e66d268884dc72967279b7e84f522556abc.tar.xz linux-db885e66d268884dc72967279b7e84f522556abc.zip |
net/tls: fix async operation
Mallesham reports the TLS with async accelerator was broken by
commit d10523d0b3d7 ("net/tls: free the record on encryption error")
because encryption can return -EINPROGRESS in such setups, which
should not be treated as an error.
The error is also present in the BPF path (likely copied from there).
Reported-by: Mallesham Jatharakonda <mallesham.jatharakonda@oneconvergence.com>
Fixes: d3b18ad31f93 ("tls: add bpf support to sk_msg handling")
Fixes: d10523d0b3d7 ("net/tls: free the record on encryption error")
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions