]> err.no Git - linux-2.6/commit
RDMA/cma: Fix leak of cm_ids in case of failures
authorKrishna Kumar <krkumar2@in.ibm.com>
Fri, 29 Sep 2006 18:47:06 +0000 (11:47 -0700)
committerRoland Dreier <rolandd@cisco.com>
Mon, 2 Oct 2006 21:52:15 +0000 (14:52 -0700)
commit675a027c3db25a439f6ea744bb0c284f983dbfb9
treecffaa17e8c330481dd8de893888ada6ce21cd0ef
parent95f3eff6997ae4a6754c1d874ec0a414d97c44d1
RDMA/cma: Fix leak of cm_ids in case of failures

cma_connect_ib() and cma_connect_iw() leak cm_id's in failure cases.

Signed-off-by: Krishna Kumar <krkumar2@in.ibm.com>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/core/cma.c