Thread (19 messages) flat view 19 messages, 5 authors, 2014-07-11

RE: [PATCH 2/2] hso: fix deadlock when receiving bursts of data

From: David Laight <hidden>
Date: 2014-07-10 14:39:18
Also in: lkml

From: Olivier Sobrie
...
The function put_rxbuf_data() is called from the urb completion handler.
It puts the data of the urb transfer in the tty buffer with
tty_insert_flip_string_flags() and schedules a work queue in order to
push the data to the ldisc.
Problem is that we are in a urb completion handler so we can't wait
until there is room in the tty buffer.
Surely you can just keep the urb?
Resubmit it later when all the data has been transferred.

	David
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help