]> err.no Git - linux-2.6/commit
9p: Use kthread_stop instead of sending a SIGKILL.
authorEric W. Biederman <ebiederm@xmission.com>
Tue, 12 Dec 2006 22:26:07 +0000 (15:26 -0700)
committerEric Van Hensbergen <ericvh@gmail.com>
Sun, 18 Feb 2007 16:16:10 +0000 (10:16 -0600)
commit2c0463a9ae8751547c39302aeb31c6cef16b5df4
treec79b99835f4b6ad9a47a58dab465f26908ba00ae
parent8a03d9a498eaf02c8a118752050a5154852c13bf
9p: Use kthread_stop instead of sending a SIGKILL.

Since the kthread api does not bump the reference count on
processes that tracked it is not safe allow user space to
kill the threads, as I still retain a pointer to the task_struct.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Acked-by: Eric Van Hensbergen <ericvh@gmail.com>
fs/9p/mux.c