diff options
| author | Alexander Usyskin <[email protected]> | 2016-04-17 12:16:03 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-04-30 14:08:08 -0700 |
| commit | 6a8d648c8d1824117a9e9edb948ed1611fb013c0 (patch) | |
| tree | d0db8401ceee131be91539da604aa9a5af9a6176 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | cc25aa94e43779b86300c443acb6947dd739fdd1 (diff) | |
mei: fix NULL dereferencing during FW initiated disconnection
In the case when disconnection is initiated from the FW
the driver is flushing items from the write control list while
iterating over it:
mei_irq_write_handler()
list_for_each_entry_safe(ctrl_wr_list) <-- outer loop
mei_cl_irq_disconnect_rsp()
mei_cl_set_disconnected()
mei_io_list_flush(ctrl_wr_list) <-- destorying list
We move the list flushing to the completion routine.
Cc: <[email protected]> #4.2+
Signed-off-by: Alexander Usyskin <[email protected]>
Signed-off-by: Tomas Winkler <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions