[ofw] [Patch][IPoIB_NDIS6_CM]

Alex Naslednikov xalex at mellanox.co.il
Tue Sep 21 07:47:35 PDT 2010


Applied at 2939

-----Original Message-----
From: Alex Naslednikov 
Sent: Sunday, September 19, 2010 5:06 PM
To: ofw at lists.openfabrics.org
Subject: [ofw][Patch][IPoIB_NDIS6_CM] 

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