Commit 1883ac0f authored by Zhang Jingwang's avatar Zhang Jingwang Committed by Dries Kimpe
Browse files

Fix potential connection starvation in bmi_ib

The new coming connection are handled in the function
ib_tcp_server_check_new_connections(); and this is called inside the
function ib_block_for_activity(). However the ib_block_for_activity()
is only called when the network is idle in BMI_ib_testcontext() or

As a result, when the server is busy serving one client process, the
other processes can't make a new connections to the server and thus
they can't transfer data to the server concurrently.

Change-Id: Ib9c28e0e5c38cf03741c2220a9a95e2c9ffbe5a1
parent c4ba141e
...@@ -1411,6 +1411,8 @@ restart: ...@@ -1411,6 +1411,8 @@ restart:
} }
} }
*outcount = n; *outcount = n;
return activity + n; return activity + n;
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment