[ofa-general] [PATCH] OpenSM: Fixed GUID check against cn_guid_file usinf Ftree.

Nicolas Morey Chaisemartin nicolas.morey-chaisemartin at ext.bull.net
Wed Dec 3 06:47:15 PST 2008


Port GUID was not converted using cl_ntoh64 before being searched in the 
CN cl_qmap.
Therefore, the cn_guid_file needed to be reversed 
(bigendian<->littleendian conversion) so it would recognize the nodes.
This patch makes it consistent with the root_guid_file and the log messages.


Signed-off-by: Nicolas Morey-Chaisemartin 
<nicolas.morey-chaisemartin at ext.bull.net>
---
  opensm/opensm/osm_ucast_ftree.c |    4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: f52d93cf205f3d6b886b62616d46a82f48231472.diff
Type: text/x-patch
Size: 614 bytes
Desc: not available
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20081203/394888ac/attachment.bin>


More information about the general mailing list