lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 14 Jul 2014 14:27:34 +0100
From:	One Thousand Gnomes <gnomes@...rguk.ukuu.org.uk>
To:	Olivier Sobrie <olivier@...rie.be>
Cc:	linux-usb@...r.kernel.org, netdev@...r.kernel.org,
	linux-kernel@...r.kernel.org, David Miller <davem@...emloft.net>,
	David Laight <David.Laight@...LAB.COM>,
	Dan Williams <dcbw@...hat.com>, Jan Dumon <j.dumon@...ion.com>
Subject: Re: [PATCH v2 2/2] hso: fix deadlock when receiving bursts of data

On Mon, 14 Jul 2014 12:08:50 +0200
Olivier Sobrie <olivier@...rie.be> wrote:

> 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@...emloft.net>
> Cc: David Laight <David.Laight@...LAB.COM>
> Cc: One Thousand Gnomes <gnomes@...rguk.ukuu.org.uk>
> Cc: Dan Williams <dcbw@...hat.com>
> Cc: Jan Dumon <j.dumon@...ion.com>
> Signed-off-by: Olivier Sobrie <olivier@...rie.be>

Acked-by: Alan Cox <alan@...ux.intel.com>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ