<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18702"></HEAD>
<BODY>
<DIV><FONT size=2 face=Arial><SPAN class=344194208-12082009>The patch bellow 
fixes a BSOD that happens when restarting the opensm more than once (if the 
local endpoint was not in the lid_endpts list).</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN 
class=344194208-12082009></SPAN></FONT> </DIV>
<DIV><FONT size=2 face=Arial><SPAN 
class=344194208-12082009>Thanks</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN 
class=344194208-12082009>Tzachi</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Index: 
Q:/projMLNX_WinOF_2.0/MLNX_WinOF_2-0/ulp/ipoib/kernel/ipoib_port.c<BR>===================================================================<BR>--- 
Q:/projMLNX_WinOF_2.0/MLNX_WinOF_2-0/ulp/ipoib/kernel/ipoib_port.c (revision 
4634)<BR>+++ 
Q:/projMLNX_WinOF_2.0/MLNX_WinOF_2-0/ulp/ipoib/kernel/ipoib_port.c (revision 
4635)<BR>@@ -4596,8 +4596,12 
@@<BR>    &p_port->p_local_endpt->gid_item 
);<BR>   cl_qmap_remove_item( 
&p_port->endpt_mgr.mac_endpts,<BR>    &p_port->p_local_endpt->mac_item 
);<BR>-  cl_qmap_remove_item( 
&p_port->endpt_mgr.lid_endpts,<BR>-   &p_port->p_local_endpt->lid_item 
);<BR>+   if( p_port->p_local_endpt->dlid ) 
{<BR>+   cl_qmap_remove_item( 
&p_port->endpt_mgr.lid_endpts,<BR>+    &p_port->p_local_endpt->lid_item 
);<BR>+      p_port->p_local_endpt->dlid = 
0;<BR>+  
  }<BR>+<BR>   <BR>   cl_qlist_insert_head(<BR>    &mc_list, 
&p_port->p_local_endpt->mac_item.pool_item.list_item );<BR>@@ -5153,6 
+5157,8 
@@<BR>   {<BR>    cl_qmap_remove_item(<BR>     &p_port->endpt_mgr.lid_endpts, 
&p_endpt->lid_item );<BR>+    p_endpt->dlid = 
0;<BR>+<BR>   }<BR> <BR>   cl_obj_unlock( 
&p_port->obj );<BR></DIV></FONT></BODY></HTML>