| Kernel v2.4.1 /fs/ncpfs/sock.c |
|---|
 2.4.1
 fs
 ncpfs
 sock.c
diff -u --recursive --new-file v2.4.0/linux/fs/ncpfs/sock.c linux/fs/ncpfs/sock.c
--- v2.4.0/linux/fs/ncpfs/sock.c Wed Jul 12 10:06:18 2000
+++ linux/fs/ncpfs/sock.c Sat Jan 20 08:51:51 2001
@@ -456,7 +456,10 @@
spin_lock_irqsave(¤t->sigmask_lock, flags);
old_set = current->blocked;
- mask = sigmask(SIGKILL) | sigmask(SIGSTOP);
+ if (current->flags & PF_EXITING)
+ mask = 0;
+ else
+ mask = sigmask(SIGKILL);
if (server->m.flags & NCP_MOUNT_INTR) {
/* FIXME: This doesn't seem right at all. So, like,
we can't handle SIGINT and get whatever to stop?
|