5de74d085d
We probably do not allocate the mgmt_channel when we destroy the rdma queue pair, add the judgment before put the io channnel. Change-Id: I528c9686907c04c5025ff9d3872f24f2996e9d33 Signed-off-by: Cunyin Chang <cunyin.chang@intel.com> Reviewed-on: https://review.gerrithub.io/388159 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com>