cvs commit: src/sys/opencrypto crypto.c
Pawel Jakub Dawidek
pjd at FreeBSD.org
Tue Apr 11 18:07:26 UTC 2006
On Tue, Apr 11, 2006 at 06:01:04PM +0000, Pawel Jakub Dawidek wrote:
+> pjd 2006-04-11 18:01:04 UTC
+>
+> FreeBSD src repository
+>
+> Modified files:
+> sys/opencrypto crypto.c
+> Log:
+> Be sure to wakeup the crypto thread when new request was queued.
+> This should fix a hang when starting cryptokeytest (and more).
This is not the best fix here, because the crypto thread is running if
there is a symmetric or asymmetric requests in the queue, but will do
for now.
The better fix will be a part of my bigger changes, where there is a
macro CRYPTO_Q_EMPTY() defined as follows:
#define CRYPTO_Q_EMPTY() (TAILQ_EMPTY(&crp_q) && TAILQ_EMPTY(&crp_kq))
--
Pawel Jakub Dawidek http://www.wheel.pl
pjd at FreeBSD.org http://www.FreeBSD.org
FreeBSD committer Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20060411/5c43e1a4/attachment.pgp
More information about the cvs-src
mailing list