diff options
author | 2013-07-24 08:29:54 -0400 | |
---|---|---|
committer | 2013-07-24 09:28:52 -0700 | |
commit | 19e2ad6a09f0c06dbca19c98e5f4584269d913dd (patch) | |
tree | 4aabbdd03f991b642d0c08afe9d7b3284b6fb1d6 /drivers/tty/serial/efm32-uart.c | |
parent | n_tty: Factor PARMRK from normal per-char i/o (diff) | |
download | wireguard-linux-19e2ad6a09f0c06dbca19c98e5f4584269d913dd.tar.xz wireguard-linux-19e2ad6a09f0c06dbca19c98e5f4584269d913dd.zip |
n_tty: Remove overflow tests from receive_buf() path
Always pre-figure the space available in the read_buf and limit
the inbound receive request to that amount.
For compatibility reasons with the non-flow-controlled interface,
n_tty_receive_buf() will continue filling read_buf until all data
has been received or receive_room() returns 0.
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/efm32-uart.c')
0 files changed, 0 insertions, 0 deletions