mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-25 16:00:19 +00:00
Fixed this by destroying cm_id before QP instead of after. The following messages were logged if the use-after-free occurred: mlx4_core 0000:08:00.0: command 0x19 failed: fw status = 0x9 ib_srpt: ***ERROR***: srpt_init_ch_qp() failed (-9) ib_srpt: ***ERROR***: rejected SRP_LOGIN_REQ because creating a new RDMA channel failed. ib_srpt: Rejecting login with reason 0x10001 git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4139 d57e44dd-8a1f-0410-8b47-8ef2f437770f