summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-02-14 19:52:29 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-02-14 19:52:29 -0800
commit91297b596b20570f39d2c0c786b63953fd0926d8 (patch)
treeab67e630d5c56b33072ef33e965cd0d138aae0e2 /net/unix/af_unix.c
parent547b39b5be57eee77e574ce55aef1ea3d9151e54 (diff)
Limit tty IO chunking to 2kB
The NTTY code can get confused by 4kB chunks, apparently because n_tty_receive_room() will claim to have more room than n_tty_receive_buf() can actually accept. Until somebody figures out what the real n_tty_receive_room() logic should be, let's just limit it to a safe 2kB. Thanks go to Andreas Schwab for finding a test-case.
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions