mirror of
https://git.openafs.org/openafs.git
synced 2025-01-22 08:50:17 +00:00
solaris-rx-shutdown-sleep-only-if-listener-pid-not-freed-20020124
replace if with while in case the listener is freed before we call sleep
This commit is contained in:
parent
5c2a4168a6
commit
f2d38d3683
@ -281,7 +281,7 @@ int osi_FreeSocket(asocket)
|
||||
vnode_t *vp = SOTOV(so);
|
||||
|
||||
AFS_STATCNT(osi_FreeSocket);
|
||||
if (rxk_ListenerPid) {
|
||||
while (rxk_ListenerPid) {
|
||||
kill(rxk_ListenerPid, SIGUSR1);
|
||||
afs_osi_Sleep(&rxk_ListenerPid);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user