RDMA/cxgb3: Start ep timer on a MPA reject
authorSteve Wise <swise@opengridcomputing.com>
Mon, 5 Mar 2007 23:32:46 +0000 (17:32 -0600)
committerRoland Dreier <rolandd@cisco.com>
Tue, 6 Mar 2007 19:47:05 +0000 (11:47 -0800)
commit7d526e6b2c5d6bba70fdc1fc2943bdaf9cc6147d
tree8a83a69c8ce7698eae54b40f9371683c676837c7
parent88171cfed5810a2354eb1977883589a05ce8d304
RDMA/cxgb3: Start ep timer on a MPA reject

If the consumer rejects the connection we end up under-referencing the
endpoint structure.  The fix is to call iwch_ep_disconnect() instead
of the low level disconnect functions so that the endpoint close timer
is started correctly.

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