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

Skip to content
Commit 8324598d authored by Sujeet Kumar's avatar Sujeet Kumar Committed by Gerrit - the friendly Code Review server
Browse files

USB: rndis: Protect rndis response queue



RNDIS response queue addition and deletion can be
performed from rndis completion handler as well
as ioctl from netd to do eth stop. There is a chance
when response queue list can get corrupted by simultaneous
delete and addition performed from rndis_command_compete
and rndis_indicate_status_msg.

Protect access to response queue whenever addition
or deletion is performed by spinlock as the access
may be done from interrupt context as well.

Change-Id: I74525ee9c8b31bf85063f41ae7c52ab55e9a2b7a
Signed-off-by: default avatarSujeet Kumar <ksujeet@codeaurora.org>
Signed-off-by: default avatarAjay Agarwal <ajaya@codeaurora.org>
parent 41fc4953
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment