diff options
author | Alexander Usyskin <alexander.usyskin@intel.com> | 2016-05-24 20:03:36 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-08-30 12:35:14 (GMT) |
commit | 32a1dc1d02eb41196903278f40d6a4aef66ce535 (patch) | |
tree | 153a33004fbb5c453342547e143be0cadf36b9ce /drivers/i2c | |
parent | ca455fafc2ef6a26089ba082b89e5d6e89cb2f8f (diff) | |
download | linux-32a1dc1d02eb41196903278f40d6a4aef66ce535.tar.xz |
mei: amthif: fix request cancel
Currently, all requests cancelled by the user are immediately removed
from the queues. Such removal can cause unexpected behavior in the case
when a request is partially written or a reply is received after the
request is cancelled. To resolve this a request is always fully
processed and the result is discarded in case the request was canceled.
This completes the partial fix in commit:
9d04ee1 ("mei: amthif: discard not read messages")
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/i2c')
0 files changed, 0 insertions, 0 deletions