[openEuler-5.10 112/557] RDMA/qedr: Fix NULL deref for query_qp on the GSI QP