Files
freebsd/sys/kgssapi
Mark Johnston 2fa185f9bf crypto: Remove uses of CRYPTO_F_DONE
Previously OCF set CRYPTO_F_DONE prior to invoking the completion
callback, even if the request failed. This isn't particularly useful
and leads to bugs when consumers retry a failed request, since OCF also
asserts that CRYPTO_F_DONE is clear in crypto_dispatch(). (Really, OCF
should retry requests that fail with EAGAIN, but that's a larger
change.)

For now, just stop setting CRYPTO_F_DONE to simplify consumers (and fix
those which fail to clear the flag before retrying a request).

PR:		286321
Reviewed by:	jhb
Differential Revision:	https://reviews.freebsd.org/D50104
2025-05-09 00:29:23 +00:00
..
2025-05-09 00:29:23 +00:00
…
…
…