--- a/components/open-fabrics/libibmad/patches/base.patch Mon Aug 22 11:10:16 2011 +0200
+++ b/components/open-fabrics/libibmad/patches/base.patch Tue Aug 23 10:11:45 2011 -0700
@@ -226,7 +226,15 @@
return -1;
}
-@@ -337,7 +337,7 @@
+@@ -175,6 +175,7 @@
+ IB_MAD_TRID_F) != trid);
+
+ status = umad_status(rcvbuf);
++ errno = status;
+ if (!status)
+ return length; /* done */
+ if (status == ENOMEM)
+@@ -337,7 +338,7 @@
IBPANIC("can't init UMAD library");
if ((fd = umad_open_port(dev_name, dev_port)) < 0)