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:
Derek Atkins 2002-05-14 23:56:40 +00:00 committed by Garry Zacheiss
parent fe6b4fd293
commit 097df1049a

View File

@ -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);