]> git.baikalelectronics.ru Git - kernel.git/commit
pty: Narrow the race on ldisc locking
authorAlan Cox <alan@linux.intel.com>
Tue, 16 Jun 2009 16:01:13 +0000 (17:01 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 16 Jun 2009 19:01:16 +0000 (12:01 -0700)
commit4ffa6590e7ce4fa089cd9b1c3509a0d18e145023
treecfecc2acfee012a295eee3424b623ba14a9a661a
parentfd6d3b901dbedecb7c26237a02762c8e73ffb514
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