[PATCH 5.15 310/371] RDMA/srpt: Add a check for valid mad_agent pointer