From 9a2c862a04963053f313036d1a2ccc8ce28d2a34 Mon Sep 17 00:00:00 2001 From: tzachid Date: Mon, 7 Dec 2009 11:23:12 +0000 Subject: [PATCH] [IPoIB NDIS 6.0 CM] (mlnx 5220) Access to all CL lists should be lock-protected. git-svn-id: svn://openib.tc.cornell.edu/gen1@2622 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86 --- trunk/ulp/ipoib_NDIS6_CM/kernel/ipoib_port.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/trunk/ulp/ipoib_NDIS6_CM/kernel/ipoib_port.cpp b/trunk/ulp/ipoib_NDIS6_CM/kernel/ipoib_port.cpp index 5c812dc5..3f4171f6 100644 --- a/trunk/ulp/ipoib_NDIS6_CM/kernel/ipoib_port.cpp +++ b/trunk/ulp/ipoib_NDIS6_CM/kernel/ipoib_port.cpp @@ -5993,7 +5993,7 @@ __endpt_mgr_reset_all( cl_qlist_init( &mc_list ); cl_qlist_init( &conn_list ); -//??? cl_obj_lock( &p_port->obj ); + cl_obj_lock( &p_port->obj ); /* Wait for all readers to complete. */ while( p_port->endpt_rdr ) ; @@ -6106,7 +6106,7 @@ __endpt_mgr_reset_all( } #endif -//??? cl_obj_unlock( &p_port->obj ); + cl_obj_unlock( &p_port->obj ); //TODO CM /*while( cl_qlist_count( &conn_list ) ) -- 2.46.0