Files
linux/drivers/net
Olivier Sobrie 8f9818af4e 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 <[email protected]>
Cc: David Laight <[email protected]>
Cc: One Thousand Gnomes <[email protected]>
Cc: Dan Williams <[email protected]>
Cc: Jan Dumon <[email protected]>
Signed-off-by: Olivier Sobrie <[email protected]>
Acked-by: Alan Cox <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
2014-07-14 19:27:34 -07:00
..
…
…
…
2014-07-14 16:14:16 -07:00
2014-06-22 18:04:03 -07:00
…
2014-06-16 21:29:12 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
2014-06-15 01:00:50 -07:00