git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
3fd6efb
)
linux-rx-listener-flush-signals-20030605
author
Derrick Brashear
<shadow@dementia.org>
Fri, 6 Jun 2003 20:58:09 +0000 (20:58 +0000)
committer
Derrick Brashear
<shadow@dementia.org>
Fri, 6 Jun 2003 20:58:09 +0000 (20:58 +0000)
FIXES 1409
make sure we flush signals before calling force_sig. i don't know why this
matters, but it does.
src/rx/LINUX/rx_knet.c
patch
|
blob
|
history
diff --git
a/src/rx/LINUX/rx_knet.c
b/src/rx/LINUX/rx_knet.c
index
b5f011f
..
efe9a40
100644
(file)
--- a/
src/rx/LINUX/rx_knet.c
+++ b/
src/rx/LINUX/rx_knet.c
@@
-183,9
+183,12
@@
void osi_StopListener(void)
#endif
listener = find_task_by_pid(rxk_ListenerPid);
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,0)
- read_unlock(&tasklist_lock);
+ read_unlock(&tasklist_lock);
#endif
while (rxk_ListenerPid) {
+ struct task_struct *p;
+
+ flush_signals(listener);
force_sig(SIGKILL, listener);
afs_osi_Sleep(&rxk_ListenerPid);
}