[PATCH 4.14 087/164] RDMA/mlx5: Protect from NULL pointer derefence