mirror of https://gitee.com/openkylin/linux.git
34ec43661f
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> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
amthif.c | ||
bus.c | ||
client.c | ||
client.h | ||
debugfs.c | ||
hbm.c | ||
hbm.h | ||
hw-me-regs.h | ||
hw-me.c | ||
hw-me.h | ||
hw-txe-regs.h | ||
hw-txe.c | ||
hw-txe.h | ||
hw.h | ||
init.c | ||
interrupt.c | ||
main.c | ||
mei_dev.h | ||
nfc.c | ||
pci-me.c | ||
pci-txe.c | ||
wd.c |