From: Sean Hefty Date: Mon, 7 May 2007 18:49:12 +0000 (-0700) Subject: RDMA/cma: Fix synchronization with device removal in cma_iw_handler X-Git-Tag: v2.6.22-rc2~93^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be65f086f2a50c478b2f5ecf4c55a52a4e95059a;p=pandora-kernel.git RDMA/cma: Fix synchronization with device removal in cma_iw_handler The cma_iw_handler needs to validate the state of the rdma_cm_id before processing a new connection request to ensure that a device removal is not already being processed for the same rdma_cm_id. Without the state check, the user can receive simultaneous callbacks for the same cm_id, or a callback after they've destroyed the cm_id. Signed-off-by: Sean Hefty Signed-off-by: Roland Dreier --- Reading git-diff-tree failed