From: Leon Romanovsky Date: Sun, 25 Mar 2018 08:39:05 +0000 (+0300) Subject: RDMA/ucma: Check that device exists prior to accessing it X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b9bae75805932048d0b5172cd63f83b28668eb02;p=pandora-kernel.git RDMA/ucma: Check that device exists prior to accessing it commit c8d3bcbfc5eab3f01cf373d039af725f3b488813 upstream. Ensure that device exists prior to accessing its properties. Reported-by: Fixes: 75216638572f ("RDMA/cma: Export rdma cm interface to userspace") Signed-off-by: Leon Romanovsky Signed-off-by: Jason Gunthorpe Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed