commit | b6ecfd469e82886308b44bf715d48fbe7b19ad4c | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes@sipsolutions.net> | Fri Mar 17 10:24:15 2017 +0100 |
committer | Johannes Berg <johannes.berg@intel.com> | Fri Mar 17 11:39:55 2017 +0100 |
tree | b652bf22e80e53e555c1e39fae735f6dc58243f4 | |
parent | 335d534938d327d5ba266564b7e6beaf5d456dd2 [diff] |
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>