git: 2fc0550ec438 - stable/12 - opencrypto: add kern.crypto sysctl node
Mateusz Guzik
mjg at FreeBSD.org
Thu Sep 16 11:21:08 UTC 2021
The branch stable/12 has been updated by mjg:
URL: https://cgit.FreeBSD.org/src/commit/?id=2fc0550ec438e35b9562104c0fd69ef765f459bd
commit 2fc0550ec438e35b9562104c0fd69ef765f459bd
Author: Mateusz Guzik <mjg at FreeBSD.org>
AuthorDate: 2021-09-15 13:23:48 +0000
Commit: Mateusz Guzik <mjg at FreeBSD.org>
CommitDate: 2021-09-16 11:20:35 +0000
opencrypto: add kern.crypto sysctl node
This is a direct commit to facilitate upcoming merges.
Sponsored by: Rubicon Communications, LLC ("Netgate")
---
sys/opencrypto/crypto.c | 3 +++
1 file changed, 3 insertions(+)
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
More information about the dev-commits-src-branches
mailing list