Date: Tue, 11 Apr 2006 20:06:07 +0200 From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/opencrypto crypto.c Message-ID: <20060411180606.GB7031@garage.freebsd.pl> In-Reply-To: <200604111801.k3BI14xl051713@repoman.freebsd.org> References: <200604111801.k3BI14xl051713@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] 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@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFEO/AOForvXbEpPzQRAnocAJ49IthaZS80mn9T5SImYuasNFshpQCeK8hn u3F488321PzipI+ZJl0d4Xc= =TdR2 -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060411180606.GB7031>
