diff options
author | Alan Cox <alan@lxorguk.ukuu.org.uk> | 2006-08-27 10:24:02 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-08-27 20:01:34 +0200 |
commit | 01da5fd83d6b2c5e36b77539f6cbdd8f49849225 (patch) | |
tree | 70c1f1cb8325fe4801b952346bd2ef79d08882b5 /net/tipc | |
parent | [PATCH] tty layer comment the locking assumptions and functions somewhat (diff) | |
download | linux-01da5fd83d6b2c5e36b77539f6cbdd8f49849225.tar.xz linux-01da5fd83d6b2c5e36b77539f6cbdd8f49849225.zip |
[PATCH] Fix tty layer DoS and comment relevant code
Unlike the other tty comment patch this one has code changes. Specifically
it limits the queue size for a tty to 64K characters (128Kbytes) worst case
even if the tty is ignoring tty->throttle. This is because certain drivers
don't honour the throttle value correctly, although it is a useful
safeguard anyway.
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'net/tipc')
0 files changed, 0 insertions, 0 deletions