diff options
author | 2017-03-17 10:24:15 +0100 | |
---|---|---|
committer | 2017-03-17 11:39:55 +0100 | |
commit | b6ecfd469e82886308b44bf715d48fbe7b19ad4c (patch) | |
tree | b652bf22e80e53e555c1e39fae735f6dc58243f4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | nl80211: Use signed function for a signed variable (diff) | |
download | wireguard-linux-b6ecfd469e82886308b44bf715d48fbe7b19ad4c.tar.xz wireguard-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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions