Files
linux/drivers/misc
Oleksandr Kozaruk 3a2d3d213d drivers: misc: ti-st: fix potential race if st_kim_start fails
If st_kim_start() fails registered protocols should be removed. This is
done by calling st_reg_complete(), which as comment states is called
with spin lock held. But in st_register() when st_kim_start fails it
is called without holding spin lock, creating possibility of concurrent
access to st_gdata data members.
Hold spin lock while calling st_reg_complete if st_kim_start() fails.

Signed-off-by: Oleksandr Kozaruk <oleksandr.kozaruk@globallogic.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-08-30 12:08:04 -07:00
..
2013-08-12 15:46:06 -07:00
2012-11-21 12:51:53 -08:00
2012-11-21 12:51:53 -08:00
2012-11-21 12:51:53 -08:00
2013-05-28 12:02:13 +02:00
2013-04-11 12:39:02 -07:00
2012-11-21 12:53:32 -08:00
2013-03-02 08:52:17 -06:00
2013-07-24 22:47:20 -07:00
2012-11-21 12:53:32 -08:00
2012-09-05 14:10:29 -07:00