+31
−11
Loading
QEMU may exit due to some exceptions which mean the socket connection may be disconnected at any time, so for asynchronous callbacks especially the subsystem pause/resume callbacks, they all run in asynchronous way, the controller pointer may become invalid before the callbacks are called. Fix #2530. Change-Id: I6d73597d75761e28844e83bfee7f8a446d85fa49 Signed-off-by:Changpeng Liu <changpeng.liu@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/12831 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Reviewed-by:
Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com>