From: Peter Hurley Date: Wed, 24 Jul 2013 12:29:54 +0000 (-0400) Subject: n_tty: Remove overflow tests from receive_buf() path X-Git-Tag: v3.12-rc1~182^2~155 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=19e2ad6a09f0c06dbca19c98e5f4584269d913dd;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed