RDMA/cxgb3: Remove cmid reference on tid allocation failures
authorSteve Wise <swise@opengridcomputing.com>
Wed, 15 Oct 2008 17:50:34 +0000 (10:50 -0700)
committerRoland Dreier <rolandd@cisco.com>
Wed, 15 Oct 2008 17:50:34 +0000 (10:50 -0700)
commitdc35fac9e936c6cc6ad825fc7e4455468d10adc6
treecbf55492cf994dd85bc81c3037ed75703cc1e2f3
parentf6bccf695431da0e9bd773550ae91b8cb9ffb227
RDMA/cxgb3: Remove cmid reference on tid allocation failures

The error path in iwch_connect() can fail to drop the cmid reference,
which will cause the process to hang when destroying the cmid.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/cxgb3/iwch_cm.c