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

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Apr 19 08:05:50 UTC 2017


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

--- Comment #5 from Alexandre martins <alexandre.martins at stormshield.eu> ---
(In reply to Alexandre martins from comment #4)

It seems that the cession is not thread safe, for example in cryptodev_op:

 ...
 712         cse->uio.uio_iov = &cse->iovec;
 713         cse->uio.uio_iovcnt = 1;
 714         cse->uio.uio_offset = 0;
 ...     

There is no lock around that.

Should I propose a bigger patch to fix that ?

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


More information about the freebsd-bugs mailing list