]> git.openfabrics.org - ~shefty/ibacm.git/commit
ibacm: Relocate client refcnt
authorSean Hefty <sean.hefty@intel.com>
Thu, 20 Mar 2014 05:14:31 +0000 (22:14 -0700)
committerSean Hefty <sean.hefty@intel.com>
Tue, 8 Apr 2014 22:46:14 +0000 (15:46 -0700)
commit8c4cebf0c29781817bcba108a095599acbfcee02
tree14b719ebf52876e516dcfc5675f02fe5af4d1303
parenta6ac6dd3d7347a6fd3abb53389ffa51440b1b0c5
ibacm: Relocate client refcnt

Adjust when we take a reference on the client connection.
Increment the client reference when we begin processing
the client's request, and release it when the response
has been sent.

The client reference will no longer be associated with the
lifetime of any underlying acm_request structure.  This change
will allow the acm core to control the client reference
count when we move to a provider plug-in model in subsequent
patches.

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