Files
Linux/include/net
Johannes Berg 6cb5f3ea46 mac80211: populate debugfs only after cfg80211 init
When fixing the initialization race, we neglected to account for
the fact that debugfs is initialized in wiphy_register(), and
some debugfs things went missing (or rather were rerooted to the
global debugfs root).

Fix this by adding debugfs entries only after wiphy_register().
This requires some changes in the rate control code since it
currently adds debugfs at alloc time, which can no longer be
done after the reordering.

Reported-by: Jouni Malinen <[email protected]>
Reported-by: kernel test robot <[email protected]>
Reported-by: Hauke Mehrtens <[email protected]>
Reported-by: Felix Fietkau <[email protected]>
Cc: [email protected]
Fixes: 52e04b4ce5 ("mac80211: fix race in ieee80211_register_hw()")
Signed-off-by: Johannes Berg <[email protected]>
Acked-by: Sumit Garg <[email protected]>
Link: https://lore.kernel.org/r/20200423111344.0e00d3346f12.Iadc76a03a55093d94391fc672e996a458702875d@changeid
Signed-off-by: Johannes Berg <[email protected]>
2020-04-24 11:30:13 +02:00
..
…
…
…
…
…
2020-02-24 13:31:42 -08:00
…
2020-04-14 12:40:02 +02:00
…
…
…
…
…
2020-03-30 11:44:00 -07:00
2020-03-23 21:57:44 -07:00
…
2019-12-09 09:59:07 +01:00
…
…
2019-10-23 20:13:22 -07:00
2019-12-09 10:36:44 -08:00
…
…
…
…
…
2020-03-23 21:57:44 -07:00
2020-03-29 22:30:57 -07:00
…
…
…
…
…
…
…
…
…
2019-12-09 10:36:44 -08:00
…
…
…
…
2020-03-04 13:25:55 -08:00
…
…
…
…
…
…
2020-03-23 21:57:44 -07:00
2020-03-29 22:30:57 -07:00
…
…
…
…
…
2019-10-05 16:29:00 -07:00
…
…
2020-04-18 15:47:28 -07:00
…
…
2020-03-09 22:34:58 +01:00
…
…
…
2019-12-09 10:28:43 -08:00
2019-06-19 11:23:13 -04:00
2019-12-09 09:59:07 +01:00