mirror of
https://github.com/hardkernel/linux.git
synced 2026-04-30 01:10:44 +09:00
Mallesham reports the TLS with async accelerator was broken by commitd10523d0b3("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:d3b18ad31f("tls: add bpf support to sk_msg handling") Fixes:d10523d0b3("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>