[IBAL] Fix locking around MAD tracking list.
[mirror/winof/.git] / core / al / kernel / al_proxy_subnet.c
index e220d4a..cad5897 100644 (file)
@@ -704,7 +704,7 @@ __proxy_mad_recv_cb(
         */\r
        if( !proxy_context_ref( p_context ) )\r
        {\r
-               proxy_put_mad( p_mad_element );\r
+               ib_put_mad( p_mad_element );\r
                AL_EXIT( AL_DBG_MAD );\r
                return;\r
        }\r
@@ -723,7 +723,7 @@ __proxy_mad_recv_cb(
        {\r
                al_hdl_free( p_context->h_al, hdl );\r
 proxy_mad_recv_cb_err:\r
-               proxy_put_mad( p_mad_element );\r
+               ib_put_mad( p_mad_element );\r
        }\r
        cl_spinlock_release( &p_context->h_al->obj.lock );\r
 \r