diff options
author | Mateusz Guzik <mjg@FreeBSD.org> | 2021-09-15 13:23:48 +0000 |
---|---|---|
committer | Mateusz Guzik <mjg@FreeBSD.org> | 2021-09-16 11:20:35 +0000 |
commit | 2fc0550ec438e35b9562104c0fd69ef765f459bd (patch) | |
tree | 95700ddb4fc7c36003511cb496e84e9d597ebc09 | |
parent | 1a9342cfb036b22fad93759c6093139ead6ecddb (diff) | |
download | src-2fc0550ec438e35b9562104c0fd69ef765f459bd.tar.gz src-2fc0550ec438e35b9562104c0fd69ef765f459bd.zip |
opencrypto: add kern.crypto sysctl node
This is a direct commit to facilitate upcoming merges.
Sponsored by: Rubicon Communications, LLC ("Netgate")
-rw-r--r-- | sys/opencrypto/crypto.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/opencrypto/crypto.c b/sys/opencrypto/crypto.c index dfd22662e87f..348bcfbbed17 100644 --- a/sys/opencrypto/crypto.c +++ b/sys/opencrypto/crypto.c @@ -151,6 +151,9 @@ static struct mtx crypto_q_mtx; #define CRYPTO_Q_LOCK() mtx_lock(&crypto_q_mtx) #define CRYPTO_Q_UNLOCK() mtx_unlock(&crypto_q_mtx) +SYSCTL_NODE(_kern, OID_AUTO, crypto, CTLFLAG_RW, 0, + "In-kernel cryptography"); + /* * Taskqueue used to dispatch the crypto requests * that have the CRYPTO_F_ASYNC flag |