[ofa-general] [PATCH] OpenSM: Fix error return corner case
Al Chu
chu11 at llnl.gov
Mon Dec 10 16:39:37 PST 2007
Hey Sasha,
I noticed that in osm_ucast_updn_setup(), the code has set the
context/callbacks in the routing engine struct, but does not revert the
changes if the later call to updn_init() fails. The callbacks would be
left in place and erroneously executed at a later time. Patch is
attached.
Thanks,
Al
--
Albert Chu
chu11 at llnl.gov
925-422-5311
Computer Scientist
High Performance Systems Division
Lawrence Livermore National Laboratory
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-fix-error-return-corner-case.patch
Type: text/x-patch
Size: 1814 bytes
Desc: not available
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20071210/250c1faa/attachment.bin>
More information about the general
mailing list