Some consumers handle EAGAIN properly, some do not. Rather than
requiring all consumers to fiddle with crypto fields before retrying an
operating, provide a subroutine to do it.
Use it in GELI, which wasn't clearing CRYPTO_F_DONE before retrying.
Differential D35533
crypto: Provide a routine to reset cryptops after EAGAIN markj on Jun 20 2022, 7:12 PM. Authored by Tags None Referenced Files
Details
Some consumers handle EAGAIN properly, some do not. Rather than Use it in GELI, which wasn't clearing CRYPTO_F_DONE before retrying.
Diff Detail
Event TimelineComment Actions One minor nit that can be fixed at commit.
|