linux-hardened/drivers/w1
David Fries d3a8a9dbb9 w1: hold bus_mutex in netlink and search
The bus_mutex needs to be taken to serialize access to a specific bus.
netlink wasn't updated when bus_mutex was added and was calling
without that lock held, and not all of the masters were holding the
bus_mutex in a search.  This was causing the ds2490 hardware to stop
responding when both netlink and /sys slaves were executing bus
commands at the same time.

Signed-off-by: David Fries <David@Fries.net>
Acked-by: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-02-07 15:40:18 -08:00
..
masters w1: hold bus_mutex in netlink and search 2014-02-07 15:40:18 -08:00
slaves w1: use family_data instead of rom in w1_slave 2014-02-07 15:40:18 -08:00
Kconfig Kconfig: replace "--- help ---" with "---help---" 2012-05-07 15:01:22 +02:00
Makefile [PATCH] better CONFIG_W1_SLAVE_DS2433_CRC handling 2006-12-07 08:39:43 -08:00
w1.c w1: format for DocBook and fixes 2014-02-07 15:40:18 -08:00
w1.h w1: format for DocBook and fixes 2014-02-07 15:40:18 -08:00
w1_family.c w1: format for DocBook and fixes 2014-02-07 15:40:18 -08:00
w1_family.h w1: format for DocBook and fixes 2014-02-07 15:40:18 -08:00
w1_int.c w1: format for DocBook and fixes 2014-02-07 15:40:18 -08:00
w1_int.h MAINTAINERS: Evgeniy has moved 2011-08-25 16:25:33 -07:00
w1_io.c w1: format for DocBook and fixes 2014-02-07 15:40:18 -08:00
w1_log.h MAINTAINERS: Evgeniy has moved 2011-08-25 16:25:33 -07:00
w1_netlink.c w1: hold bus_mutex in netlink and search 2014-02-07 15:40:18 -08:00
w1_netlink.h w1: format for DocBook and fixes 2014-02-07 15:40:18 -08:00