git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
5c2a416
)
solaris-rx-shutdown-sleep-only-if-listener-pid-not-freed-20020124
author
Derrick Brashear
<shadow@dementia.org>
Thu, 24 Jan 2002 10:46:42 +0000 (10:46 +0000)
committer
Derrick Brashear
<shadow@dementia.org>
Thu, 24 Jan 2002 10:46:42 +0000 (10:46 +0000)
replace if with while in case the listener is freed before we call sleep
src/rx/SOLARIS/rx_knet.c
patch
|
blob
|
history
diff --git
a/src/rx/SOLARIS/rx_knet.c
b/src/rx/SOLARIS/rx_knet.c
index
f09e1c4
..
04f8d51
100644
(file)
--- a/
src/rx/SOLARIS/rx_knet.c
+++ b/
src/rx/SOLARIS/rx_knet.c
@@
-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);
}