diff options
author | 2022-07-07 18:03:14 -0700 | |
---|---|---|
committer | 2022-07-08 18:38:45 -0700 | |
commit | 35560b7f06b8497e11880c53e845744f41de4820 (patch) | |
tree | 1368aa89b1729a189d197af3e8892ac936731aef /net/tls/tls_main.c | |
parent | tls: create an internal header (diff) | |
download | linux-dev-35560b7f06b8497e11880c53e845744f41de4820.tar.xz linux-dev-35560b7f06b8497e11880c53e845744f41de4820.zip |
tls: rx: make tls_wait_data() return an recvmsg retcode
tls_wait_data() sets the return code as an output parameter
and always returns ctx->recv_pkt on success.
Return the error code directly and let the caller read the skb
from the context. Use positive return code to indicate ctx->recv_pkt
is ready.
While touching the definition of the function rename it.
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/tls/tls_main.c')
0 files changed, 0 insertions, 0 deletions