On 4/19/22 17:11, Tim Wiederhake wrote: > Fixes: db16792aa90cab5c9886fc2990ec13fbb20a3fb5 > Signed-off-by: Tim Wiederhake <twiederh@xxxxxxxxxx> > --- > src/rpc/virnetserver.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/rpc/virnetserver.c b/src/rpc/virnetserver.c > index 9b333f1a6c..371b72c8d6 100644 > --- a/src/rpc/virnetserver.c > +++ b/src/rpc/virnetserver.c > @@ -827,7 +827,7 @@ virNetServerSetClientAuthenticated(virNetServer *srv, > virNetServerClient *client) > { > VIR_LOCK_GUARD server_lock = virObjectLockGuard(srv); > - VIR_LOCK_GUARD client_lock = virObjectLockGuard(srv); > + VIR_LOCK_GUARD client_lock = virObjectLockGuard(client); > > virNetServerClientSetAuthLocked(client, VIR_NET_SERVER_SERVICE_AUTH_NONE); > virNetServerSetClientAuthCompletedLocked(srv, client); Ooops yes. This indeed fixes the deadlock I'm seeing. Sorry for letting this slip through review. Reviewed-by: Michal Privoznik <mprivozn@xxxxxxxxxx> Michal