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

Skip to content
Commit 0154908c authored by Sreelakshmi Gownipalli's avatar Sreelakshmi Gownipalli Committed by Gerrit - the friendly Code Review server
Browse files

diag: Add protection while allocating memory during usb write



Add spin lock protection while allocating memory in diag_usb_write()
 to avoid race condition while allocating/freeing up the memory.

Change-Id: I0f068f163f6363b991413fad3d1e52cfc9d6af08
Signed-off-by: default avatarSreelakshmi Gownipalli <sgownipa@codeaurora.org>
parent ef4b332e
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