Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ec988c77 authored by Maria Yu's avatar Maria Yu Committed by Stephen Boyd
Browse files

USB: gadget: diag: Use spinlocks for protection when freeing requests



There is possibility that when we do list_del in free_reqs, the list
is modified simultanuously by others. This will result in the request
not being found. Protect access using spinlocks.

Change-Id: I20c3aeabaefe8786b9b453c7b08b5c9c18057184
CRs-Fixed: 518902
Signed-off-by: default avatarMaria Yu <aiquny@codeaurora.org>
parent a57d02db
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment