USB: gadget: f_rndis: Fix NULL pointer dereference during disconnect
There is a chance that unbind() and rndis_command_complete() might race each other resulting in NULL pointer dereference. Hence add spinlock protection to avoid this. Change-Id: I1ea0c3da6586c3b08a0ed85f7d0d58e8dc0ebf1b Signed-off-by:Vijayavardhan Vennapusa <vvreddy@codeaurora.org> Signed-off-by:
Sivasri Kumar Vanka <sivasri@codeaurora.org>
Loading
Please register or sign in to comment