[ofw] [Patch 35/62] Reference implementation of NDv2

Fab Tillier ftillier at microsoft.com
Wed Feb 20 18:14:39 PST 2013


Bug fix for IPoIB interface query: don't return success if the interface data guid doesn't match.  The current code returns the local variable 'status', which at this point in the function is STATUS_SUCCESS.

Signed-off-by: Fab Tillier <ftillier at microsoft.com>

diff -dwup3 -X excl.txt -r \dev\openib\ofw\gen1\branches\mlx4_30\trunk\core\bus\kernel\bus_port_mgr.c .\core\bus\kernel\bus_port_mgr.c
--- \dev\openib\ofw\gen1\branches\mlx4_30\trunk\core\bus\kernel\bus_port_mgr.c	Tue Aug 07 16:41:02 2012
+++ .\core\bus\kernel\bus_port_mgr.c	Thu Jul 26 16:38:31 2012
@@ -2053,7 +2053,7 @@ port_query_ipoib_ifc(
 			p_guid->Data4[0], p_guid->Data4[1], p_guid->Data4[2],
 			p_guid->Data4[3], p_guid->Data4[4], p_guid->Data4[5],
 			p_guid->Data4[6], p_guid->Data4[7]) );
-		return status;
+		return STATUS_NOT_SUPPORTED;
 	}
 
 	if( p_ifc_data->version != IPOIB_INTERFACE_DATA_VERSION )
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ndv2.35.patch
Type: application/octet-stream
Size: 632 bytes
Desc: ndv2.35.patch
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20130221/f0f305c5/attachment.obj>


More information about the ofw mailing list