summaryrefslogtreecommitdiffstats
path: root/net/mac80211
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2017-03-17 10:24:15 +0100
committerJohannes Berg <johannes.berg@intel.com>2017-03-17 11:39:55 +0100
commitb6ecfd469e82886308b44bf715d48fbe7b19ad4c (patch)
treeb652bf22e80e53e555c1e39fae735f6dc58243f4 /net/mac80211
parent335d534938d327d5ba266564b7e6beaf5d456dd2 (diff)
downloadtalos-obmc-linux-b6ecfd469e82886308b44bf715d48fbe7b19ad4c.tar.gz
talos-obmc-linux-b6ecfd469e82886308b44bf715d48fbe7b19ad4c.zip
cfg80211: preserve wdev ID across netns changes
When a wdev changes network namespace, its wdev ID will get reassigned since NETDEV_REGISTER is called again, in the new network namespace. Avoid that by checking if it was already assigned before, and document why we do that. Reported-and-tested-by: Arend Van Spriel <arend.vanspriel@broadcom.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud