From: Sean Hefty Date: Fri, 27 Jul 2012 17:46:42 +0000 (-0700) Subject: rsocket: Improve disconnect time under normal conditions X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=8ba3be5f12ffff6818c394d0b0589cb713f68841;p=~shefty%2Flibrdmacm.git rsocket: Improve disconnect time under normal conditions When both sides of a connection attempt to close at the same time, one of the two sides can easily get an error when sending a disconnect message. This results in that side hanging during close until the send times out. (The time out is caused by the remote side destroying its QP.) We can reduce the chance of this occurring by immediately assuming that the disconnect has been successful once we've received the remote side's disconnect message. Signed-off-by: Sean Hefty ---