diff options
author | 2024-02-02 10:11:06 +0000 | |
---|---|---|
committer | 2024-02-04 16:08:21 +0000 | |
commit | ffabe98cb576097b77d404d39e8b3df03caa986a (patch) | |
tree | e9d296f71893ebfe40868b94239523ee25150138 /lib/test_blackhole_dev.c | |
parent | tun: Implement ethtool's get_channels() callback (diff) | |
download | wireguard-linux-ffabe98cb576097b77d404d39e8b3df03caa986a.tar.xz wireguard-linux-ffabe98cb576097b77d404d39e8b3df03caa986a.zip |
net: make dev_unreg_count global
We can use a global dev_unreg_count counter instead
of a per netns one.
As a bonus we can factorize the changes done on it
for bulk device removals.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/test_blackhole_dev.c')
0 files changed, 0 insertions, 0 deletions