OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-510-g622403c
Gerrit Code Review
gerrit@openafs.org
Wed, 1 Dec 2010 13:13:25 -0800 (PST)
The following commit has been merged in the master branch:
commit 622403c87a8cbcedcd1212fd32414285d103887b
Author: Ben Kaduk <kaduk@mit.edu>
Date: Sat Nov 27 23:25:03 2010 -0500
FBSD: clean up rx_socket teardown
We had previously been waiting for the SO_ISDISCONNECTED flag
to show up in the so_state field, but the flags are not really
used for stateless protocols such as UDP, and that flag never
shows up. Even with a full three-second wait, the rxk_Listener
sometimes still failed to fully terminate, preventing the reuse
of the rx port for a restarted afsd.
Copy from Solaris and loop until rxk_ListenerPid is zero, doing
bogus one-byte NetSends in the body of the loop.
Change-Id: I6a5ad4509549fa64c551af642ef5867602b182c0
Reviewed-on: http://gerrit.openafs.org/3391
Reviewed-by: Matt Benjamin <matt@linuxbox.com>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/rx/FBSD/rx_knet.c | 44 ++++++++++++++++++++++----------------------
1 files changed, 22 insertions(+), 22 deletions(-)
--
OpenAFS Master Repository