linux/drivers/misc/mei
Tomas Winkler cc99ecfdac mei: fix memory leak of pending write cb objects
Write callbacks are released on the write completed path but
when file handler is closed before the writes are
completed those are left dangling on write and write_waiting queues.

We add mei_io_list_free function to perform this task

Also move static functions to client.c form client.h

Cc: stable <stable@vger.kernel.org> # 3.11+
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-03-17 15:52:06 -07:00
..
Kconfig mei: fix compilation error with missing WATCHDOG_CORE 2014-02-14 10:13:46 -08:00
Makefile mei: txe: add Kbuild for TXE device 2014-02-07 15:08:46 -08:00
amthif.c mei: make return values consistent across the driver 2014-02-28 15:15:57 -08:00
bus.c mei: don't of list_for_each_entry_safe when not deleting 2014-02-18 10:06:08 -08:00
client.c mei: fix memory leak of pending write cb objects 2014-03-17 15:52:06 -07:00
client.h mei: fix memory leak of pending write cb objects 2014-03-17 15:52:06 -07:00
debugfs.c mei: export active connections to debugfs 2014-02-07 15:09:35 -08:00
hbm.c mei: make return values consistent across the driver 2014-02-28 15:15:57 -08:00
hbm.h mei: get rid of ext_msg 2014-02-14 11:12:46 -08:00
hw-me-regs.h mei: add 9 series PCH mei device ids 2013-12-05 09:48:23 -08:00
hw-me.c mei: me: do not reset when less than expected data is received 2014-03-17 15:49:41 -07:00
hw-me.h mei: revamp mei_data2slots 2013-03-15 11:10:48 -07:00
hw-txe-regs.h mei: txe: add hw-txe-regs.h header file 2014-02-07 15:08:46 -08:00
hw-txe.c mei: revamp writing slot counting 2014-02-28 15:15:57 -08:00
hw-txe.h mei: revamp writing slot counting 2014-02-28 15:15:57 -08:00
hw.h mei: hbm: revamp client connect and disconnection status 2014-02-18 10:05:07 -08:00
init.c mei: Remove all bus devices from the mei_dev list when stopping the MEI 2014-02-18 10:04:35 -08:00
interrupt.c mei: me: do not reset when less than expected data is received 2014-03-17 15:49:41 -07:00
main.c mei: make return values consistent across the driver 2014-02-28 15:15:57 -08:00
mei_dev.h mei: revamp writing slot counting 2014-02-28 15:15:57 -08:00
nfc.c mei: make return values consistent across the driver 2014-02-28 15:15:57 -08:00
pci-me.c mei: me: put pm callbacks under PM_SLEEP ifdef 2014-02-18 10:07:01 -08:00
pci-txe.c mei: txe: put pm callbacks under PM_SLEEP ifdef 2014-02-18 10:07:02 -08:00
wd.c mei: wd: fix stop completion failure 2014-02-28 15:15:57 -08:00