diff options
author | Allan Stephens <allan.stephens@windriver.com> | 2010-08-17 11:00:15 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-08-17 17:31:59 -0700 |
commit | 564e83b51a12b794e3f63a2d872398e1ee21616f (patch) | |
tree | 6785882fa955a768c9859291d8b5a32826efe9a7 /net/tipc/discover.c | |
parent | c2de58140a380172610b6a0f07f975abb2fbb311 (diff) |
tipc: Allow connect() to wait indefinitely
Cause a socket whose TIPC_CONN_TIMEOUT option is zero to wait
indefinitely for a response to a connection request using connect().
Previously, specifying a timeout of 0 ms resulted in an immediate
timeout, which was inconsistent with the behavior specified by Posix
for a socket's receive and send timeout.
Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/discover.c')
0 files changed, 0 insertions, 0 deletions