[Bug 218597] [CRYPTODEV] spurious wakeup and synchronisation problem

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Aug 17 00:25:02 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=218597

John Baldwin <jhb at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |In Progress
           Assignee|freebsd-bugs at FreeBSD.org    |jhb at FreeBSD.org

--- Comment #8 from John Baldwin <jhb at FreeBSD.org> ---
FYI, I have a potential fix for this in the middle of a larger patch series I'm
working on to enable  AES-GCM offloading for the OpenSSL /dev/crypto engine and
some other things.  It uses malloc'd per-op buffer.  While concurrent
operations on a session are probably rare, we don't do anything to prevent them
currently and this makes them safe.  I also prefer to not muddy the per-session
state with per-op state.  The relevant commits are:

https://github.com/freebsd/freebsd/commit/6d93ba89e16b137cca55b377c46430815cb68464

along with 3 followup fixes in this branch:

https://github.com/freebsd/freebsd/compare/master...bsdjhb:openssl_engine

I don't have an ETA for when this might reach HEAD apart from "soon-ish".  I
have some other open reviews for /dev/crypto changes that I haven't been able
to get any review for already.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list