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