[ofw] [Patch][IPoIB_NDIS6_CM]
    Alex Naslednikov 
    xalex at mellanox.co.il
       
    Sun Sep 19 08:05:49 PDT 2010
    
    
  
Wrong length calculation of received statistic caused WHQL 2c_oidsndirequest to fail
Signed-off by: Alexander Naslednikov (xalex at mellanox.co.il)
Index: B:/users/xalex/MLNX_VPI_trunk/ulp/ipoib_NDIS6_CM/kernel/ipoib_port.cpp
===================================================================
--- B:/users/xalex/MLNX_VPI_trunk/ulp/ipoib_NDIS6_CM/kernel/ipoib_port.cpp	(revision 5414)
+++ B:/users/xalex/MLNX_VPI_trunk/ulp/ipoib_NDIS6_CM/kernel/ipoib_port.cpp	(revision 5415)
@@ -2503,7 +2503,7 @@
 				
 			}
 			cl_qlist_insert_tail( p_done_list, &p_desc->item.list_item );
-			ipoib_inc_recv_stat( p_port->p_adapter, ip_stat, len, 1 );  
+			ipoib_inc_recv_stat( p_port->p_adapter, ip_stat, p_desc->len, 1 );  
 		}
 	}
    
    
More information about the ofw
mailing list