diff mbox

And I found the other reason (Re: Found one reason libibnetdisc is slower than subnet_discover)

Message ID 20100122101113.16c6bd20.weiny2@llnl.gov (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Ira Weiny Jan. 22, 2010, 6:11 p.m. UTC
None
diff mbox

Patch

diff --git a/tests/subnet_discover.c b/tests/subnet_discover.c
index acc8c23..22b092a 100644
--- a/tests/subnet_discover.c
+++ b/tests/subnet_discover.c
@@ -189,7 +189,7 @@  static void run_request_queue(int fd, int agent)
        struct request_queue *q = request_queue.next;
 
        while (q) {
-               if (outstanding > max_outstanding)
+               if (outstanding >= max_outstanding)
                        break;
                if (send_request(fd, agent, q->trid, q->path, q->path_cnt,
                                 q->attr_id, q->attr_mod) < 0)