summaryrefslogtreecommitdiffstats
path: root/drivers/mcb
diff options
context:
space:
mode:
authorAlexander Usyskin2014-04-01 22:50:41 +0200
committerGreg Kroah-Hartman2014-04-16 21:24:16 +0200
commit34ec43661fe8f1977dd0f05353302ae2ed10aabb (patch)
treea43273b676eb83e3bfcdc66ed6958caaa5de0469 /drivers/mcb
parentmei: me: do not load the driver if the FW doesn't support MEI interface (diff)
downloadkernel-qcow2-linux-34ec43661fe8f1977dd0f05353302ae2ed10aabb.tar.gz
kernel-qcow2-linux-34ec43661fe8f1977dd0f05353302ae2ed10aabb.tar.xz
kernel-qcow2-linux-34ec43661fe8f1977dd0f05353302ae2ed10aabb.zip
mei: ignore client writing state during cb completion
Ignore client writing state during cb completion to fix a memory leak. When moving cbs to the completion list we should not look at writing_state as this state can be already overwritten by next write, the fact that a cb is on the write waiting list means that it was already written to the HW and we can safely complete it. Same pays for wait in poll handler, we do not have to check the state wake is done after completion list processing. Cc: stable@vger.kernel.org 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>
Diffstat (limited to 'drivers/mcb')
0 files changed, 0 insertions, 0 deletions