libvirt/src/rpc
Nikolay Shirokovskiy 47eb77fb33 rpc,lockd: Add missing netserver refcount increment on reload
After the virNetDaemonAddServerPostExec call in virtlogd we should have
netserver refcount set to 2. One goes to netdaemon servers hashtable
and one goes to virt{logd,lock} own reference to netserver. Let's add
the missing increment in virNetDaemonAddServerPostExec itself while
holding the daemon lock.

Since lockd defers management of the @srv object by the presence
in the hash table, virLockDaemonNewPostExecRestart must Unref the
alloc'd Ref on the @srv object done as part of virNetDaemonAddServerPostExec
and virNetServerNewPostExecRestart processing. The virNetDaemonGetServer
in lock_daemon main will also take a reference which is Unref'd during
main cleanup.
2017-11-06 16:19:11 -05:00
..
gendispatch.pl perl: Don't hardcode interpreter path 2017-09-19 16:04:53 +02:00
genprotocol.pl perl: Don't hardcode interpreter path 2017-09-19 16:04:53 +02:00
gensystemtap.pl perl: Don't hardcode interpreter path 2017-09-19 16:04:53 +02:00
virkeepalive.c rpc: fix keep alive timer segfault 2017-04-24 12:19:13 +02:00
virkeepalive.h
virkeepaliveprotocol.x
virnetclient.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virnetclient.h remote: expose a new libssh transport 2016-11-15 15:50:51 +01:00
virnetclientprogram.c Print hex values with '0x' prefix and octal with '0' in debug messages 2017-09-25 13:34:53 +01:00
virnetclientprogram.h
virnetclientstream.c Print hex values with '0x' prefix and octal with '0' in debug messages 2017-09-25 13:34:53 +01:00
virnetclientstream.h Introduce virNetClientStreamRecvHole 2017-05-18 07:42:13 +02:00
virnetdaemon.c rpc,lockd: Add missing netserver refcount increment on reload 2017-11-06 16:19:11 -05:00
virnetdaemon.h Change virNetDaemonGetServerNames to virNetDaemonGetServers 2016-03-11 12:58:41 +01:00
virnetlibsshsession.c rpc: libssh: allow a NULL known_hosts file 2017-01-11 13:37:24 +01:00
virnetlibsshsession.h libssh_transport: add new libssh-based transport 2016-11-15 15:50:51 +01:00
virnetmessage.c rpc: for messages with FDs always decode count of FDs from the message 2017-09-27 18:56:32 +02:00
virnetmessage.h rpc: use virNetMessageClearPayload in client 2016-05-05 14:28:19 -04:00
virnetprotocol.x rpc: Bump maximum message size to 32M 2017-05-24 14:02:29 +02:00
virnetsaslcontext.c Ignore SASL deprecation warnings on OS-X 2017-04-19 10:51:51 +01:00
virnetsaslcontext.h build: workaround broken SASL header (again) 2016-03-31 17:36:49 +02:00
virnetserver.c virnetserver: fix mesage vs message typo 2017-09-11 18:17:22 +02:00
virnetserver.h rpc: virnetserver: Rename ClientSetProcessingControls to ClientSetLimits 2016-08-02 14:51:13 +02:00
virnetserverclient.c rpc: for messages with FDs always decode count of FDs from the message 2017-09-27 18:56:32 +02:00
virnetserverclient.h rpc: serverclient: Add option to suppress errors on EOF 2017-03-17 17:20:22 +01:00
virnetservermdns.c Use ATTRIBUTE_FALLTHROUGH 2017-06-12 19:11:30 -04:00
virnetservermdns.h
virnetserverprogram.c daemon: Introduce virNetServerProgramSendStreamHole 2017-05-18 07:42:13 +02:00
virnetserverprogram.h daemon: Introduce virNetServerProgramSendStreamHole 2017-05-18 07:42:13 +02:00
virnetserverservice.c rpc: Fix potentially segfaults 2017-02-12 15:02:42 -05:00
virnetserverservice.h rpc: allow selection of TCP address family 2015-06-11 12:11:18 +01:00
virnetsocket.c rpc: avoid ssh interpreting malicious hostname as arguments 2017-08-29 18:02:03 +01:00
virnetsocket.h Revert "Prevent more compiler optimization of mockable functions" 2017-07-13 13:07:06 +01:00
virnetsshsession.c build: add GCC 6.0 -Wlogical-op workaround 2016-04-11 12:09:14 +02:00
virnetsshsession.h
virnettlscontext.c Report what TLS priority string we use for a session 2017-03-16 11:03:33 +00:00
virnettlscontext.h rpc: allow priority string to be passed to TLS context 2016-06-08 13:48:45 +01:00