# HG changeset patch # User Boris Chiu # Date 1314119505 25200 # Node ID 20074ee5793ec9c5c1e287b2e3432cf72c99b9de # Parent 3fcae5c85ef0e3d1b73ad603aba6e8cc11240343 7078137 libibma _do_madrpc() does not set errno on mad timeout - ref oracle bug 11823643 diff -r 3fcae5c85ef0 -r 20074ee5793e components/open-fabrics/libibmad/patches/base.patch --- 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)