From: Hefty, Sean Date: Thu, 6 Oct 2011 16:33:04 +0000 (-0700) Subject: RDMA/cma: Check for NULL conn_param in rdma_accept X-Git-Tag: v3.2-rc1~104^2^8~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f45ee80eb0dda1fbf32bf63189627a9e1e157a95;p=pandora-kernel.git RDMA/cma: Check for NULL conn_param in rdma_accept Check that conn_param is not null before dereferencing it when processing rdma_accept(). This is necessary to prevent a possible system crash, which can be caused by user space. Problem found by code inspection. Signed-off-by: Sean Hefty Signed-off-by: Roland Dreier --- Reading git-diff-tree failed