[openib-general] [PATCH] OpenSM vendor layer: Don't exit from receiver thread whenlarge umad alloc fails

Hal Rosenstock halr at voltaire.com
Mon Nov 21 05:43:05 PST 2005


OpenSM vendor layer: Don't exit from receiver thread when large umad
alloc fails

Signed-off-by: Hal Rosenstock <halr at voltaire.com>

Index: libvendor/osm_vendor_ibumad.c
===================================================================
--- libvendor/osm_vendor_ibumad.c       (revision 4088)
+++ libvendor/osm_vendor_ibumad.c       (working copy)
@@ -273,7 +273,7 @@ umad_receiver(void *p_ptr)
                                        osm_log(p_ur->p_log, OSM_LOG_ERROR,
                                                "umad_receiver: ERR 5405: "
                                                "can't alloc umad length %d\n", length);
-                                       break;
+                                       continue;
                                }

                                if ((mad_agent = umad_recv(p_vend->umad_port_id,






More information about the general mailing list