Fixed bug where proxy_send_sa_req could return without releasing lock.
authorftillier <ftillier@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Fri, 2 Sep 2005 21:28:31 +0000 (21:28 +0000)
committerftillier <ftillier@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Fri, 2 Sep 2005 21:28:31 +0000 (21:28 +0000)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@55 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

core/al/kernel/al_proxy_subnet.c

index 8946570..0769c3f 100644 (file)
@@ -309,9 +309,9 @@ proxy_send_sa_req(
        else\r
        {\r
                al_hdl_free( p_context->h_al, hdl );\r
-               cl_spinlock_release( &p_context->h_al->obj.lock );\r
 \r
 proxy_send_sa_req_err2:\r
+               cl_spinlock_release( &p_context->h_al->obj.lock );\r
                cl_free( p_sa_req );\r
 \r
 proxy_send_sa_req_err1:\r