]> bbs.cooldavid.org Git - net-next-2.6.git/commit
RDMA/cxgb3: Don't abort after failures sending the mpa reply
authorSteve Wise <swise@opengridcomputing.com>
Mon, 25 Jun 2007 17:46:00 +0000 (12:46 -0500)
committerRoland Dreier <rolandd@cisco.com>
Tue, 10 Jul 2007 03:12:26 +0000 (20:12 -0700)
commitecc2f0060fa7ff2fc53864ee19e370e5ddd47d5e
tree1c6e8e79aeb72b44020e4d1885061a2bd5a62c91
parent96d0e4931e264012f57a2ae8f7c4697bfa55386a
RDMA/cxgb3: Don't abort after failures sending the mpa reply

This bug results in an abort request being sent down _after_ the tid
has been released.  If the tid happens to have been reused, then the
subsequent generation of the tid gets incorrectly aborted.

The thread running iwch_accecpt_cr() must not abort a connection if an
error is returned after being awakened.  If any errors did occur while
iwch_accept_cr() is blocked, then the connection has already been
aborted on the thread processing the error.

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