Re: [PATCH 5.13] mwifiex: bring down link before deleting interface

From
Brian Norris <briannorris@chromium.org>
Date
2021-06-11 00:19:47
Also in
lkml, stable
Reply to
Brian Norris, 2021-05-15
On Fri, May 14, 2021 at 7:45 PM Brian Norris [off-list ref] wrote:
We can deadlock when rmmod'ing the driver or going through firmware
reset, because the cfg80211_unregister_wdev() has to bring down the link
for us, ... which then grab the same wiphy lock.
...
Fixes: a05829a7222e ("cfg80211: avoid holding the RTNL when calling the driver")
Cc: <redacted>
Link: https://lore.kernel.org/linux-wireless/98392296-40ee-6300-369c-32e16cff3725@gmail.com/ (local)
Link: https://lore.kernel.org/linux-wireless/ab4d00ce52f32bd8e45ad0448a44737e@bewaar.me/ (local)
Reported-by: Maximilian Luz <luzmaximilian@gmail.com>
Reported-by: <redacted>
Cc: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Brian Norris <briannorris@chromium.org>
Ping - is this going to get merged? It's a 5.12 regression, and we
have multiple people complaining about it (and they tested the fix
too!).

Thanks,
Brian
Thread (9 messages) 9 messages, 5 authors, last reply 2021-06-11
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help