diff options
author | Tomas Winkler <[email protected]> | 2021-03-18 07:59:59 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2021-03-23 15:15:15 +0100 |
commit | ce068bc7da473e39b64d130101e178406023df0c (patch) | |
tree | 4d37a3caccb9ba2545535f0431e6638d2d685a70 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 903079a54cac47ab115fa5abbde6860cf94e258f (diff) |
mei: allow map and unmap of client dma buffer only for disconnected client
Allow map and unmap of the client dma buffer only when the client is not
connected. The functions return -EPROTO if the client is already connected.
This is to fix the race when traffic may start or stop when buffer
is not available.
Cc: <[email protected]> #v5.11+
Signed-off-by: Tomas Winkler <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions