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

tls: rx: fix the NoPad getsockopt



Maxim reports do_tls_getsockopt_no_pad() will
always return an error. Indeed looks like refactoring
gone wrong - remove err and use value.

Reported-by: default avatarMaxim Mikityanskiy <maximmi@nvidia.com>
Fixes: 88527790 ("tls: rx: add sockopt for enabling optimistic decrypt with TLS 1.3")
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent bb56cea9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment