Re: [REBASED] brcmfmac: fix lockup when removing P2P interface after event timeout

From: Kalle Valo
Date: Wed Jun 29 2016 - 11:58:44 EST


RafaÅ MiÅecki wrote:
> Removing P2P interface is handled by sending a proper request to the
> firmware. On success firmware triggers an event and driver's handler
> removes a matching interface.
>
> However on event timeout we remove interface directly from the cfg80211
> callback. Current code doesn't handle this case correctly as it always
> assumes rtnl to be unlocked.
>
> Fix it by adding an extra rtnl_locked parameter to functions and calling
> unregister_netdevice when needed.
>
> Signed-off-by: RafaÅ MiÅecki <zajec5@xxxxxxxxx>

Thanks, 1 patch applied to wireless-drivers-next.git:

b50ddfa8530e brcmfmac: fix lockup when removing P2P interface after event timeout

--
Sent by pwcli
https://patchwork.kernel.org/patch/9183337/