summary refs log tree commit diff stats
path: root/util/async.c
diff options
context:
space:
mode:
authorDr. David Alan Gilbert <dgilbert@redhat.com>2018-04-30 19:59:43 +0100
committerJuan Quintela <quintela@redhat.com>2018-05-15 22:13:08 +0200
commit8b7bf2badac25c0a52aff1b181ad75fdb304dd0c (patch)
tree6bc44dca41c05e82f01f3f5521d3f455a60c3c3d /util/async.c
parent5e50cae409a0f43332efe594a67827cb4ee66c28 (diff)
downloadfocaccia-qemu-8b7bf2badac25c0a52aff1b181ad75fdb304dd0c.tar.gz
focaccia-qemu-8b7bf2badac25c0a52aff1b181ad75fdb304dd0c.zip
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: 688a3dcba98

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>
Diffstat (limited to 'util/async.c')
0 files changed, 0 insertions, 0 deletions