diff options
author | Jakub Kicinski <kuba@kernel.org> | 2022-07-07 18:03:14 -0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-07-08 18:38:45 -0700 |
commit | 35560b7f06b8497e11880c53e845744f41de4820 (patch) | |
tree | 1368aa89b1729a189d197af3e8892ac936731aef /scripts/spdxcheck-test.sh | |
parent | 5879031423089b2e19b769f30fc618af742264c3 (diff) | |
download | lwn-35560b7f06b8497e11880c53e845744f41de4820.tar.gz lwn-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 'scripts/spdxcheck-test.sh')
0 files changed, 0 insertions, 0 deletions