The branch stable/12 has been updated by mjg:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=2fc0550ec438e35b9562104c0fd69ef765f459bd

commit 2fc0550ec438e35b9562104c0fd69ef765f459bd
Author:     Mateusz Guzik <[email protected]>
AuthorDate: 2021-09-15 13:23:48 +0000
Commit:     Mateusz Guzik <[email protected]>
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
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to