[PATCH] do_SAK: Don't recursively take the tasklist_lock
[sfrench/cifs-2.6.git] / drivers / char / tty_io.c
index f70a47eadb52abcacb891a816aa55db988889db6..841f0bd3eaaf8426194c8cd838c1a0dfb67f37cc 100644 (file)
@@ -2734,7 +2734,7 @@ static void __do_SAK(void *arg)
                                        printk(KERN_NOTICE "SAK: killed process %d"
                                            " (%s): fd#%d opened to the tty\n",
                                            p->pid, p->comm, i);
-                                       send_sig(SIGKILL, p, 1);
+                                       force_sig(SIGKILL, p);
                                        break;
                                }
                        }