summaryrefslogtreecommitdiffstats
path: root/drivers/of
diff options
context:
space:
mode:
authorOlivier Sobrie <olivier@sobrie.be>2014-07-14 12:08:50 +0200
committerDavid S. Miller <davem@davemloft.net>2014-07-14 19:27:34 -0700
commit8f9818af4eaef1150282e18355aaea425474a411 (patch)
tree6dd457dfe72ca88b65ce041afe5124271f98f7ab /drivers/of
parent5c763edfe4879ffc3a87fef64f743d4b5497aabb (diff)
downloadop-kernel-dev-8f9818af4eaef1150282e18355aaea425474a411.zip
op-kernel-dev-8f9818af4eaef1150282e18355aaea425474a411.tar.gz
hso: fix deadlock when receiving bursts of data
When the module sends bursts of data, sometimes a deadlock happens in the hso driver when the tty buffer doesn't get the chance to be flushed quickly enough. Remove the endless while loop in function put_rxbuf_data() which is called by the urb completion handler. If there isn't enough room in the tty buffer, discards all the data received in the URB. Cc: David Miller <davem@davemloft.net> Cc: David Laight <David.Laight@ACULAB.COM> Cc: One Thousand Gnomes <gnomes@lxorguk.ukuu.org.uk> Cc: Dan Williams <dcbw@redhat.com> Cc: Jan Dumon <j.dumon@option.com> Signed-off-by: Olivier Sobrie <olivier@sobrie.be> Acked-by: Alan Cox <alan@linux.intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/of')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud