https://github.com/torvalds/linux
Revision 5d8c61bc283826827e1f06816c146bfc507d3834 authored by Johan Hovold on 18 October 2012, 09:43:28 UTC, committed by Greg Kroah-Hartman on 18 October 2012, 15:08:47 UTC
Make sure port data is initialised before creating sysfs attributes to
avoid a race.

A recent patch ("USB: io_ti: fix port-data memory leak") got the
sysfs-attribute creation and port-data initialisation ordering wrong.

Cc: <stable@vger.kernel.org>
Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 0978c94
History
Tip revision: 5d8c61bc283826827e1f06816c146bfc507d3834 authored by Johan Hovold on 18 October 2012, 09:43:28 UTC
USB: io_ti: fix sysfs-attribute creation
Tip revision: 5d8c61b
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.2 KB
.mailmap -rw-r--r-- 4.4 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 92.7 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 222.0 KB
Makefile -rw-r--r-- 46.2 KB
README -rw-r--r-- 18.2 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top