]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/cma: Protect against adding device during destruction
authorSean Hefty <sean.hefty@intel.com>
Fri, 1 Sep 2006 22:33:55 +0000 (15:33 -0700)
committerRoland Dreier <rolandd@cisco.com>
Fri, 22 Sep 2006 22:22:49 +0000 (15:22 -0700)
commit74de87904454166af2b19d548002681d530462e5
treecaa11f34a88a687f6699373f24bd93733b048f10
parent2f890505a3c7653677afb9a5028a570e135449ca
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 <sean.hefty@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/core/cma.c