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] [day] [month] [year] [list]
Date:	Mon, 8 Mar 2010 17:35:48 +0000
From:	Alan Cox <alan@...rguk.ukuu.org.uk>
To:	Alessio Igor Bogani <abogani@...ware.it>
Cc:	Greg Kroah-Hartman <gregkh@...e.de>,
	Johan Hovold <jhovold@...il.com>,
	Alan Cox <alan@...ux.intel.com>, Daniel Mack <daniel@...aq.de>,
	"Mark J. Adamson" <mark.adamson@...ichip.com>,
	linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] USB: ftdi_sio: Fix locking for change_speed() function

On Mon,  8 Mar 2010 14:10:03 +0100
Alessio Igor Bogani <abogani@...ware.it> wrote:

> The change_speed() function set the baudrate of the device: so this function
> should be serialized against multiple calls. Use the cfg_lock mutex to do this.

Should be ok anyway the set_termios callback occurs under the tty termios
lock, and will not occur in parallel with an initial open or final close.

Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ