When read_message returns -1 while a read is pending, an attempt is made
to lock h->request_mutex which is already locked by the reader. Change
the read thread to only exit on thread cancellation, where
read_thr_exists will return 0.
Signed-off-by: Daniel De Graaf <dgdegra@xxxxxxxxxxxxx>
--
Daniel De Graaf
National Security Agency
deadlock-fix.patch
Description: Text document
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|