diff options
author | Luiz Otavio O Souza <luiz@netgate.com> | 2015-09-15 16:14:16 -0500 |
---|---|---|
committer | Luiz Otavio O Souza <luiz@netgate.com> | 2015-10-20 12:06:44 -0500 |
commit | 4a5da8d970cd2aa5659b6ef40220a69671465f74 (patch) | |
tree | 3f81b076d3df7632bb50f427f8cdf77764e60763 /sys/opencrypto/cryptodev.h | |
parent | c34073cc8f92a0177aa3411a36197df65f68b0c0 (diff) | |
download | FreeBSD-src-4a5da8d970cd2aa5659b6ef40220a69671465f74.zip FreeBSD-src-4a5da8d970cd2aa5659b6ef40220a69671465f74.tar.gz |
MFC r285247:
we may get here w/ non-sleepable locks held, so switch to _NOWAIT when
doing this memory allocation...
Reviewed by: ae
TAG: IPSEC-HEAD
Issue: #4841
Diffstat (limited to 'sys/opencrypto/cryptodev.h')
-rw-r--r-- | sys/opencrypto/cryptodev.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/opencrypto/cryptodev.h b/sys/opencrypto/cryptodev.h index f434843..ab34b9e 100644 --- a/sys/opencrypto/cryptodev.h +++ b/sys/opencrypto/cryptodev.h @@ -465,7 +465,7 @@ extern int cuio_apply(struct uio *uio, int off, int len, struct mbuf; struct iovec; -extern void crypto_mbuftoiov(struct mbuf *mbuf, struct iovec **iovptr, +extern int crypto_mbuftoiov(struct mbuf *mbuf, struct iovec **iovptr, int *cnt, int *allocated); extern void crypto_copyback(int flags, caddr_t buf, int off, int size, |