[PATCH openEuler-5.10-LTS 142/166] RDMA/hfi1: Fix use-after-free bug for mm struct