aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorAlexander Usyskin <[email protected]>2015-07-23 10:43:11 +0300
committerGreg Kroah-Hartman <[email protected]>2015-08-03 17:19:09 -0700
commit23253c31c6a7a3c5a437ec31830e2100484c0748 (patch)
tree70ceab86a3e5e9fb1abab3359143b04ef09c5cdc /tools/perf/scripts/python/bin
parent0bd38ae355227792dde3487779a9dc24d6b99631 (diff)
mei: do not access freed cb in blocking write
The mei_cl_write function is giving up on a write cb ownership after it was sent or queued. The write cb is then freed in the completion handler. Especially during blocking write mei_cl_write function waits for the completion handler and then access the freed memory to fetch the written size. The quick fix is to store the buffer size prior to sending, the size is not altered during the flow. 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/bin')
0 files changed, 0 insertions, 0 deletions