mirror of
https://git.openafs.org/openafs.git
synced 2025-01-22 17:00:15 +00:00
Seems to fix a hang at shutdown time seen on Redhat 7.3 kernels; doesn't
appear to affect older kernels.
This commit is contained in:
parent
fe6b4fd293
commit
097df1049a
@ -179,7 +179,7 @@ void osi_StopListener(void)
|
|||||||
extern int rxk_ListenerPid;
|
extern int rxk_ListenerPid;
|
||||||
|
|
||||||
while (rxk_ListenerPid) {
|
while (rxk_ListenerPid) {
|
||||||
(void) (*sys_killp)(rxk_ListenerPid, 9);
|
(void) (*sys_killp)(rxk_ListenerPid, SIGTERM);
|
||||||
afs_osi_Sleep(&rxk_ListenerPid);
|
afs_osi_Sleep(&rxk_ListenerPid);
|
||||||
}
|
}
|
||||||
sock_release(rx_socket);
|
sock_release(rx_socket);
|
||||||
|
Loading…
Reference in New Issue
Block a user