David Fries f7134eea05 w1_therm reference count family data
A temperature conversion can take 750 ms and when possible the
w1_therm slave driver drops the bus_mutex to allow other bus
operations, but that includes operations such as a periodic slave
search, which can remove this slave when it is no longer detected.
If that happens the sl->family_data will be freed and set to NULL
causing w1_slave_show to crash when it wakes up.

Signed-off-by: David Fries <David@Fries.net>
Reported-By: Thorsten Bschorr <thorsten@bschorr.de>
Tested-by: Thorsten Bschorr <thorsten@bschorr.de>
Acked-by: Evgeniy Polyakov <zbr@ioremap.net>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-05-24 12:08:59 -07:00
..
2015-04-26 13:36:02 -07:00
2015-05-11 10:33:31 -07:00
2015-05-05 08:42:06 -07:00
2015-04-22 09:18:17 -07:00
2015-04-26 13:36:02 -07:00
2015-05-18 10:01:54 -07:00
2015-05-12 23:22:03 -04:00
2015-04-24 08:46:18 -07:00
2015-04-16 14:01:03 -05:00
2015-04-22 09:04:39 -07:00
2015-04-13 17:07:21 -07:00
2015-03-31 12:01:19 -04:00
2015-04-23 16:55:50 +02:00
2015-04-27 10:10:19 -07:00
2015-05-24 11:55:15 -07:00
2015-05-16 21:10:05 -07:00
2015-05-14 12:43:36 -07:00
2015-04-20 15:16:25 -07:00
2015-05-24 12:08:59 -07:00