[PATCH 4.9 039/102] RDMA/ucma: Check that device is connected prior to access it