Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 395501e2 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "cfg80211: fix rcu in cfg80211_unregister_wdev"

parents 7e1b37a0 f637ee8d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -949,6 +949,7 @@ void cfg80211_unregister_wdev(struct wireless_dev *wdev)
	nl80211_notify_iface(rdev, wdev, NL80211_CMD_DEL_INTERFACE);

	list_del_rcu(&wdev->list);
	synchronize_rcu();
	rdev->devlist_generation++;

	switch (wdev->iftype) {