diff options
author | Johannes Thumshirn <jthumshirn@suse.de> | 2016-05-10 12:39:44 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-06-13 18:49:30 -0700 |
commit | 7bc364097a89a0a9a5e5e4989d6b3e6fb2027a9e (patch) | |
tree | 57316735809cb8b3b1991cfb60d09dc692225da3 /certs | |
parent | 69f1804a9ab602701217a8c23d371f8f36f8b57a (diff) | |
download | linux-7bc364097a89a0a9a5e5e4989d6b3e6fb2027a9e.tar.gz linux-7bc364097a89a0a9a5e5e4989d6b3e6fb2027a9e.tar.bz2 linux-7bc364097a89a0a9a5e5e4989d6b3e6fb2027a9e.zip |
mcb: Acquire reference to device in probe
mcb_probe() does not aqcuire a reference to the probed device but drops one
when removing the device. As it is actually using the device, it should grab
a reference via get_device().
This could lead to a panic found with a rmmod/modprobe stress test
Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
Reported-by: Andreas Werner <andreas.werner@men.de>
Tested-by: Andreas Werner <andreas.werner@men.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions