aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/ktls.h
diff options
context:
space:
mode:
authorGleb Smirnoff <glebius@FreeBSD.org>2020-02-25 19:26:40 +0000
committerGleb Smirnoff <glebius@FreeBSD.org>2020-02-25 19:26:40 +0000
commitf85e1a806b40f01a427f25766ba6e56dcc681d69 (patch)
tree5d2dde497005a764de83d734a9a96cf7069d90e5 /sys/sys/ktls.h
parentf4d9fa68096d5d12a0ed9aa40d0d95c5308a0f75 (diff)
downloadsrc-f85e1a806b40f01a427f25766ba6e56dcc681d69.tar.gz
src-f85e1a806b40f01a427f25766ba6e56dcc681d69.zip
Make ktls_frame() never fail. Caller must supply correct mbufs.
This makes sendfile code a bit simplier.
Notes
Notes: svn path=/head/; revision=358319
Diffstat (limited to 'sys/sys/ktls.h')
-rw-r--r--sys/sys/ktls.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/ktls.h b/sys/sys/ktls.h
index 13a43b9beea7..4790511e12c0 100644
--- a/sys/sys/ktls.h
+++ b/sys/sys/ktls.h
@@ -177,7 +177,7 @@ int ktls_crypto_backend_register(struct ktls_crypto_backend *be);
int ktls_crypto_backend_deregister(struct ktls_crypto_backend *be);
int ktls_enable_tx(struct socket *so, struct tls_enable *en);
void ktls_destroy(struct ktls_session *tls);
-int ktls_frame(struct mbuf *m, struct ktls_session *tls, int *enqueue_cnt,
+void ktls_frame(struct mbuf *m, struct ktls_session *tls, int *enqueue_cnt,
uint8_t record_type);
void ktls_seq(struct sockbuf *sb, struct mbuf *m);
void ktls_enqueue(struct mbuf *m, struct socket *so, int page_count);