libvirt/src/remote
Nikolay Shirokovskiy fbcb73866b rpc: client stream: dispose private data on stream dispose
If we call virStreamFinish and virStreamAbort from 2 distinct
threads for example we can have access to freed memory.
Because when virStreamFinish finishes for example virStreamAbort
yet to be finished and it access virNetClientStreamPtr object
in stream->privateData.

Also it does not make sense to clear @driver field. After
stream is finished/aborted it is better to have appropriate
error message instead of "unsupported error".

This commit reverts [1] or virNetClientStreamPtr and
virStreamPtr will never be unrefed due to cyclic dependency.
Before this patch we don't have leaks because all execution
paths we call virStreamFinish or virStreamAbort.

[1] 8b6ffe40 : virNetClientStreamNew: Track origin stream

Signed-off-by: Nikolay Shirokovskiy <nshirokovskiy@virtuozzo.com>
2019-02-08 16:51:45 +01:00
..
libvirtd.aug rpc: remove remains of obsolete log_buffer_size config parameter 2018-03-23 10:44:35 +00:00
libvirtd.conf log: update docs for daemons to improve user understanding 2018-05-11 17:11:46 +01:00
libvirtd.init.in daemon: move init system files into src/remote/ 2018-02-22 12:21:21 +00:00
libvirtd.libxl.logrotate.in daemon: move logrotate files to src/remote/ 2018-02-22 12:26:57 +00:00
libvirtd.logrotate.in daemon: move logrotate files to src/remote/ 2018-02-22 12:26:57 +00:00
libvirtd.lxc.logrotate.in daemon: move logrotate files to src/remote/ 2018-02-22 12:26:57 +00:00
libvirtd.pod daemon: move libvirtd POD manpage into src/remote/ 2018-02-22 12:21:09 +00:00
libvirtd.policy Do not generate polkit rules file 2018-03-14 12:46:26 +01:00
libvirtd.qemu.logrotate.in daemon: move logrotate files to src/remote/ 2018-02-22 12:26:57 +00:00
libvirtd.rules daemon: move misc libvirtd policy files to src/remote/ 2018-02-22 12:26:50 +00:00
libvirtd.sasl daemon: move misc libvirtd policy files to src/remote/ 2018-02-22 12:26:50 +00:00
libvirtd.service.in libvirtd: Add service dependency on systemd-logind 2018-06-12 13:29:42 -04:00
libvirtd.sysconf daemon: move init system files into src/remote/ 2018-02-22 12:21:21 +00:00
libvirtd.sysctl daemon: move misc libvirtd policy files to src/remote/ 2018-02-22 12:26:50 +00:00
libvirtd.upstart daemon: move init system files into src/remote/ 2018-02-22 12:21:21 +00:00
lxc_protocol.x Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
Makefile.inc.am src: Don't use double-colon rules 2019-01-16 10:19:48 +01:00
qemu_protocol.x Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
remote_daemon_config.c Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
remote_daemon_config.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
remote_daemon_dispatch.c remote: remove variable whose value is a constant 2019-01-31 10:38:30 +00:00
remote_daemon_dispatch.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
remote_daemon_stream.c Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
remote_daemon_stream.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
remote_daemon.c Require a semicolon for VIR_ENUM_IMPL calls 2019-02-03 17:46:29 -05:00
remote_daemon.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
remote_driver.c rpc: client stream: dispose private data on stream dispose 2019-02-08 16:51:45 +01:00
remote_driver.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
remote_protocol.x Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
test_libvirtd.aug.in log: update docs for daemons to improve user understanding 2018-05-11 17:11:46 +01:00
virt-guest-shutdown.target.in daemon: move init system files into src/remote/ 2018-02-22 12:21:21 +00:00