]> git.openfabrics.org - ~ardavis/dapl.git/commitdiff
r3070: Update from SourceForge DAPL: set async evd to null in dapli_ia_release_hca
authorJames Lentini <jlentini@netapp.com>
Thu, 11 Aug 2005 19:57:40 +0000 (19:57 +0000)
committerJames Lentini <jlentini@netapp.com>
Thu, 11 Aug 2005 19:57:40 +0000 (19:57 +0000)
Signed-off-by: James Lentini <jlentini@netapp.com>
dapl/common/dapl_ia_util.c

index 0b494cc6281105aade5e3933dacd7ef348367494..3d8cb0e795cd09b41970725ea3101be5a9083d4b 100644 (file)
@@ -413,8 +413,6 @@ dapl_ia_abrupt_close (
      * one, close it
      */
     dapli_ia_release_hca (hca_ptr);
-    hca_ptr->async_evd = NULL; /* It was our async EVD; nuke it after */ 
-                              /*  the provider has a shot at it.  */
 
     dapls_ia_free (ia_ptr);
 
@@ -534,8 +532,6 @@ dapl_ia_graceful_close (
     }
 
     dapli_ia_release_hca (hca_ptr);
-    hca_ptr->async_evd = NULL; /* It was our async EVD; nuke it after */ 
-                              /*  the provider has a shot at it.  */
 
     dapls_ia_free (ia_ptr);
 
@@ -558,6 +554,7 @@ dapli_ia_release_hca (
     {
        dapls_ib_close_hca (hca_ptr);
        hca_ptr->ib_hca_handle = IB_INVALID_HANDLE;
+        hca_ptr->async_evd = NULL; 
     }
     dapl_os_unlock (&hca_ptr->lock);
 }