Oleg Nesterov 6da8d866d0 tty: release_one_tty() forgets to put pids
release_one_tty(tty) can be called when tty still has a reference
to pgrp/session. In this case we leak the pid.

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Reported-by: Catalin Marinas <catalin.marinas@arm.com>
Reported-and-tested-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Acked-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-04-02 19:44:09 -07:00
..
2010-03-24 14:38:37 +01:00
2010-03-15 16:00:47 -07:00
2010-03-06 11:26:28 -08:00
2010-03-22 16:33:31 +01:00
2010-03-14 20:08:38 -04:00
2010-03-12 15:52:43 -08:00
2010-03-24 16:31:19 -07:00
2010-03-07 17:04:51 -08:00
2010-03-06 11:26:28 -08:00