Re: [PATCH] migration/multifd: fix nullptr access in multifd_send_terminate_threads

2020-01-24 Thread Juan Quintela
Zhimin Feng wrote: > If the multifd_send_threads is not created when migration is failed, > multifd_save_cleanup would be called twice. In this senario, the > multifd_send_state is accessed after it has been released, the result > is that the source VM is crashing down. > > Here is the coredump st

[PATCH] migration/multifd: fix nullptr access in multifd_send_terminate_threads

2020-01-10 Thread Zhimin Feng
If the multifd_send_threads is not created when migration is failed, multifd_save_cleanup would be called twice. In this senario, the multifd_send_state is accessed after it has been released, the result is that the source VM is crashing down. Here is the coredump stack: Program received signa