summary refs log tree commit diff
path: root/Documentation/ABI/stable
diff options
context:
space:
mode:
authorDavid Fries <David@Fries.net>2015-05-08 19:51:50 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-05-24 12:08:59 -0700
commitf7134eea05b2fb4a2c0935f8a540539fff01f3eb (patch)
tree756f42e02e8ca03891f7f2c01bb28405a27528b4 /Documentation/ABI/stable
parentc3098356927254be270e5dc186a2ca144b64463b (diff)
downloadlinux-f7134eea05b2fb4a2c0935f8a540539fff01f3eb.tar.gz
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>
Diffstat (limited to 'Documentation/ABI/stable')
0 files changed, 0 insertions, 0 deletions