[PATCH 5.15 387/731] RDMA/core: Make sure "ib_port" is valid when access sysfs node