From: Sean Hefty Date: Fri, 1 Sep 2006 22:33:55 +0000 (-0700) Subject: RDMA/cma: Protect against adding device during destruction X-Git-Tag: v2.6.19-rc1~1293^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=61a73c708f37295892176bc911b178278df6a091;p=pandora-kernel.git RDMA/cma: Protect against adding device during destruction Closes a window where address resolution can attach an rdma_cm_id to a device during destruction of the rdma_cm_id. This can result in the rdma_cm_id remaining in the device list after its memory has been freed. Signed-off-by: Sean Hefty Signed-off-by: Roland Dreier --- Reading git-diff-tree failed