]> xenbits.xensource.com Git - libvirt.git/commit
rpc: Correct locking and simplify the function
authorMarc Hartmayer <mhartmay@linux.vnet.ibm.com>
Thu, 21 Dec 2017 14:29:03 +0000 (15:29 +0100)
committerJohn Ferlan <jferlan@redhat.com>
Thu, 4 Jan 2018 11:55:31 +0000 (06:55 -0500)
commit0eaa59dce10d593a7b5470bfd7175e245e337cdc
treee29e52b615c682a3c96b6f374b715e0e689e7423
parentbe680bed4a8c51acebce012d7848d651f686105c
rpc: Correct locking and simplify the function

The lock for @client must not only be held for the duration of
checking whether the client wants to close, but also for as long as
we're closing the client. The same applies to the tracking of
authentications.

Signed-off-by: Marc Hartmayer <mhartmay@linux.vnet.ibm.com>
src/libvirt_remote.syms
src/rpc/virnetserver.c
src/rpc/virnetserverclient.c
src/rpc/virnetserverclient.h