]> git.openfabrics.org - ~shefty/librdmacm.git/commit
ucmatose: Fix number of connections to disconnect
authorSean Hefty <sean.hefty@intel.com>
Thu, 4 Oct 2012 18:49:59 +0000 (11:49 -0700)
committerSean Hefty <sean.hefty@intel.com>
Thu, 4 Oct 2012 18:49:59 +0000 (11:49 -0700)
commit11b3af684d8f4338d48d7238d431c791a89cffdd
tree456ce6603b09524564a80e7740e40381e5b2f6a8
parentff42af176a48b5f5970d9304a40ce6d3295d36ba
ucmatose: Fix number of connections to disconnect

When ucmatose aborts because of issues trying to connect
to the server, it moves to disconnecting all connections.
However, not all connections may have been established.
The result is that ucmatose will hang in disconnect_events.
Fix this by setting the number of times that we need to
disconnect to the number of times that we successfully
connect.

This problem is based on a report by Doug Ledford
<dledford@redhat.com>

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
examples/cmatose.c