]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
pty: Rework the pty layer to use the normal buffering logic
authorAlan Cox <alan@linux.intel.com>
Tue, 7 Jul 2009 15:39:41 +0000 (16:39 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 8 Jul 2009 16:47:59 +0000 (09:47 -0700)
commitd945cb9cce20ac7143c2de8d88b187f62db99bdc
tree88f8cc4b4e545c4e8ce998c9400767fffe5ddc94
parentb4b21cac88caa4078f5755b0bd3770af5fe9c146
pty: Rework the pty layer to use the normal buffering logic

This fixes the ppp problems and various other issues with call locking
caused by one side of a pty called in one locking context trying to match
another with differing rules on the other side. We also get a big slack
space to work with that means we can bury the flow control deadlock case
for any conceivable real world situation.

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