IB/cm: Fix error handling in ib_send_cm_req
authorSean Hefty <sean.hefty@intel.com>
Tue, 25 Jul 2006 16:52:01 +0000 (19:52 +0300)
committerRoland Dreier <rolandd@cisco.com>
Thu, 3 Aug 2006 16:44:22 +0000 (09:44 -0700)
commit75df23e229acab85b704f4603bdf5efdc7960e6a
tree3c742120029269d796ae6053ea3477d354a1241d
parent69e9fbb460fa8766428960439841ffcf565032c1
IB/cm: Fix error handling in ib_send_cm_req

Report error code rather than success (0) on failure allocating
timewait_info in ib_send_cm_req().

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/core/cm.c