git: 002c47badee5 - main - [skip ci] Remove obsolete references in crypto_request(9)

From: Alan Somers <asomers_at_FreeBSD.org>
Date: Wed, 02 Nov 2022 17:09:55 UTC
The branch main has been updated by asomers:

URL: https://cgit.FreeBSD.org/src/commit/?id=002c47badee59be58cb84fd74624594d22e14276

commit 002c47badee59be58cb84fd74624594d22e14276
Author:     Alan Somers <asomers@FreeBSD.org>
AuthorDate: 2022-11-02 16:41:48 +0000
Commit:     Alan Somers <asomers@FreeBSD.org>
CommitDate: 2022-11-02 17:09:06 +0000

    [skip ci] Remove obsolete references in crypto_request(9)
    
    They were missed by 68f6800ce05c3.
    
    Sponsored by:   Axcient
    MFC with:       68f6800ce05c3
    Reviewed by:    markj
    Differential Revision: https://reviews.freebsd.org/D37239
---
 share/man/man9/crypto_request.9 | 11 +++--------
 sys/opencrypto/crypto.c         |  4 ++--
 2 files changed, 5 insertions(+), 10 deletions(-)

diff --git a/share/man/man9/crypto_request.9 b/share/man/man9/crypto_request.9
index 1b7379245608..cb4d07189394 100644
--- a/share/man/man9/crypto_request.9
+++ b/share/man/man9/crypto_request.9
@@ -30,7 +30,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd January 4, 2022
+.Dd November 2, 2022
 .Dt CRYPTO_REQUEST 9
 .Os
 .Sh NAME
@@ -441,17 +441,12 @@ the callback is invoked synchronously if the request was processed by a
 software driver or asynchronously if the request was processed by a
 hardware driver.
 .Pp
-If a request was scheduled to the taskqueue via
-.Dv CRYPTO_F_ASYNC ,
+If a request was scheduled to the taskqueue with
+.Dv CRYPTO_ASYNC_ORDERED ,
 callbacks are always invoked asynchronously ignoring
 .Dv CRYPTO_F_CBIMM
 and
 .Dv CRYPTO_F_CBIFSYNC .
-In this case,
-.Dv CRYPTO_F_ASYNC_KEEPORDER
-may be set to ensure that callbacks for requests on a given session are
-invoked in the same order that requests were queued to the session via
-.Fn crypto_dispatch .
 This flag is used by IPsec to ensure that decrypted network packets are
 passed up the network stack in roughly the same order they were received.
 .Ss Other Request Fields
diff --git a/sys/opencrypto/crypto.c b/sys/opencrypto/crypto.c
index ec2a639e04ce..25bbc9a4bf70 100644
--- a/sys/opencrypto/crypto.c
+++ b/sys/opencrypto/crypto.c
@@ -149,8 +149,8 @@ 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
+ * Taskqueue used to dispatch the crypto requests submitted with
+ * crypto_dispatch_async .
  */
 static struct taskqueue *crypto_tq;