Commits
Liu Kui authored and Konstantin Khorenko committed 14faea33294
fs/fuse kio: destroy rdma_cm_id immediately in case cm fails during connection establishment Previously, if cm fails after the rio has been created, the rdma_cm_id would not be destroyed immediately. However the cm_id->context could still point to rc->id which would no longer be valid. This dealy create a window during which cm_id->context holds an illegal pointer. If an RMDA cm event arrives during this window, an illegal pointer dereference will happen, thus crashing the system. https://pmc.acronis.work/browse/VSTOR-79838 Signed-off-by: Liu Kui <kui.liu@acronis.com> Feature: vStorage