# Re: \[BUGFIX PATCH 1/2\] brcmfmac: Check rtnl\_lock is locked when removing interface

- From: Masami Hiramatsu \<mhiramat@kernel.org\>
- Date: 2016-08-16 02:27:27 
- List: netdev
- Page: https://ratatoskr.run/netdev/2016/08/4815214
- Thread: https://ratatoskr.run/linux-wireless/2016/08/4814542/t.md

```text
On Mon, 15 Aug 2016 23:44:05 +0200
Arend Van Spriel [ref] wrote:

> 
> 
> On 15-8-2016 13:52, Rafał Miłecki wrote:
> > On 15 August 2016 at 12:57, Kalle Valo [ref] wrote:
> >> Rafał Miłecki [ref] writes:
> >>
> >>>> Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
> >>>
> >>> Fixes: a63b09872c1d ("brcmfmac: delete interface directly in code that sent fw request")
> >>> Acked-by: Rafał Miłecki <rafal@milecki.pl>
> >>>
> >>> Kalle: I'm acking this as bugfix for 4.8 release.
> >>
> >> Ok. I'll wait few days for more comments before I apply this.

Thanks!

> > 
> > Sure.
> > 
> > 
> >> (I assume you are talking only about patch 1)
> > 
> > Yes, I'll leave mutex vs. spinlock to the experts :)
> 
> Don't know who the experts are. Surely not me :-p
> 
> I made an uneducated design decision using a mutex for this. The
> reasoning for using a regular spinlock make sense. So I will go and ack
> that patch.

As far as I can see, that change is very local and
at least my environment it works well :)

Regards,

> 
> Regards,
> Arend


-- 
Masami Hiramatsu [ref]
```
