]> git.baikalelectronics.ru Git - kernel.git/commit
pty: Narrow the race on ldisc locking
authorAlan Cox <alan@linux.intel.com>
Mon, 15 Jun 2009 15:27:29 +0000 (16:27 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 16 Jun 2009 18:24:00 +0000 (11:24 -0700)
commit26c6f882bda2216dd8caabba9fa54f254b893261
treed01d804ed6b35df3614f22c42baee719eb6dfeb7
parenteba48fc6dbad0e04f8ddd96a69356bd61ca5b222
pty: Narrow the race on ldisc locking

The pty code has always been buggy on its ldisc handling. The recent
changes made the window for the race much bigger. Pending fixing it
properly which is not at all trivial, at least make the race small again so
we don't disrupt other dev work.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/pty.c