[netperf-dev] netperf2 commit notice r606 - trunk/src
raj at netperf.org
raj at netperf.org
Tue Aug 7 10:32:23 PDT 2012
Author: raj
Date: 2012-08-07 10:32:23 -0700 (Tue, 07 Aug 2012)
New Revision: 606
Modified:
trunk/src/nettest_omni.c
Log:
eliminate a redundant call to pick the next port number so we more effectively utilize the port number space
Modified: trunk/src/nettest_omni.c
===================================================================
--- trunk/src/nettest_omni.c 2012-08-07 01:14:22 UTC (rev 605)
+++ trunk/src/nettest_omni.c 2012-08-07 17:32:23 UTC (rev 606)
@@ -4402,11 +4402,11 @@
0);
if (ret == 0) {
/* we will need a new connection to be established next time
- around the loop */
+ around the loop. However, the next time around the loop
+ will already be picking the next port number */
need_to_connect = 1;
connected = 0;
need_socket = 1;
- pick_next_port_number(local_res,remote_res);
}
else if (ret == -1) {
times_up = 1;
More information about the netperf-dev
mailing list