qemu-e2k/migration
Dr. David Alan Gilbert 8b7bf2bada Migration+TLS: Fix crash due to double cleanup
During a TLS connect we see:
  migration_channel_connect calls
  migration_tls_channel_connect
  (calls after TLS setup)
  migration_channel_connect

My previous error handling fix made migration_channel_connect
call migrate_fd_connect in all cases; unfortunately the above
means it gets called twice and crashes doing double cleanup.

Fixes: 688a3dcba9

Reported-by: Peter Krempa <pkrempa@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20180430185943.35714-1-dgilbert@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
2018-05-15 22:13:08 +02:00
..
block-dirty-bitmap.c migration/block-dirty-bitmap: fix memory leak in dirty_bitmap_load_bits 2018-05-04 08:23:26 -05:00
block.c
block.h
channel.c Migration+TLS: Fix crash due to double cleanup 2018-05-15 22:13:08 +02:00
channel.h
colo-comm.c
colo-failover.c
colo.c
exec.c migration: let incoming side use thread context 2018-05-15 20:24:27 +02:00
exec.h
fd.c migration: let incoming side use thread context 2018-05-15 20:24:27 +02:00
fd.h
global_state.c
Makefile.objs
migration.c migration/qmp: add command migrate-pause 2018-05-15 22:12:57 +02:00
migration.h migration: introduce lock for to_dst_file 2018-05-15 22:12:41 +02:00
page_cache.c
page_cache.h
postcopy-ram.c migration: allow fault thread to pause 2018-05-15 20:24:27 +02:00
postcopy-ram.h
qemu-file-channel.c
qemu-file-channel.h
qemu-file.c migration: detect compression and decompression errors 2018-04-25 18:04:08 +01:00
qemu-file.h migration: stop compression to allocate and free memory frequently 2018-04-25 18:04:06 +01:00
qjson.c qobject: Replace qobject_incref/QINCREF qobject_decref/QDECREF 2018-05-04 08:27:53 +02:00
qjson.h
ram.c migration: setup ramstate for resume 2018-05-15 20:56:59 +02:00
ram.h migration: new message MIG_RP_MSG_RECV_BITMAP 2018-05-15 20:56:51 +02:00
rdma.c migration: update index field when delete or qsort RDMALocalBlock 2018-05-15 22:13:08 +02:00
rdma.h
savevm.c qmp/migration: new command migrate-recover 2018-05-15 22:11:45 +02:00
savevm.h migration: introduce SaveVMHandlers.resume_prepare 2018-05-15 20:56:55 +02:00
socket.c migration: let incoming side use thread context 2018-05-15 20:24:27 +02:00
socket.h migration: Export functions to create send channels 2018-05-15 20:24:27 +02:00
tls.c
tls.h
trace-events migration: setup ramstate for resume 2018-05-15 20:56:59 +02:00
vmstate-types.c
vmstate.c
xbzrle.c
xbzrle.h