mirror of
https://git.openafs.org/openafs.git
synced 2025-01-22 17:00:15 +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);
|
vnode_t *vp = SOTOV(so);
|
||||||
|
|
||||||
AFS_STATCNT(osi_FreeSocket);
|
AFS_STATCNT(osi_FreeSocket);
|
||||||
if (rxk_ListenerPid) {
|
while (rxk_ListenerPid) {
|
||||||
kill(rxk_ListenerPid, SIGUSR1);
|
kill(rxk_ListenerPid, SIGUSR1);
|
||||||
afs_osi_Sleep(&rxk_ListenerPid);
|
afs_osi_Sleep(&rxk_ListenerPid);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user