]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mei: bus: check if the device is enabled before data transfer
authorAlexander Usyskin <alexander.usyskin@intel.com>
Sun, 7 Feb 2016 21:35:32 +0000 (23:35 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Apr 2016 16:08:46 +0000 (09:08 -0700)
commitfa0ae4f223ab29ab853959b08449b5c08c9cb7a0
tree988f021d764adda63f358cc53aa78d7e9d633b88
parent499f9ff872f8792d3318b0bd5e6533bfe48abf0d
mei: bus: check if the device is enabled before data transfer

commit 15c13dfcad883a1e76b714480fb27be96247fd82 upstream.

The bus data transfer interface was missing the check if the device is
in enabled state, this may lead to stack corruption during link reset.

Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mei/bus.c