aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/global_data_init.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2022-02-09 13:33:39 +0000
committerDavid S. Miller <davem@davemloft.net>2022-02-09 13:33:39 +0000
commit3bed06e36994661a75bae6a289926e566b9b3c1a (patch)
tree735fa70930e02744565c7791bd8e0bb3bda7f26a /tools/testing/selftests/bpf/prog_tests/global_data_init.c
parentfeef318c855a361a1eccd880f33e88c460eb63b4 (diff)
parentd6ff94afd90b0ce8d1715f8ef77d4347d7a7f2c0 (diff)
Merge branch 'vlan-QinQ-leak-fix'
Xin Long says: ==================== vlan: fix a netdev refcnt leak for QinQ This issue can be simply reproduced by: # ip link add dummy0 type dummy # ip link add link dummy0 name dummy0.1 type vlan id 1 # ip link add link dummy0.1 name dummy0.1.2 type vlan id 2 # rmmod 8021q unregister_netdevice: waiting for dummy0.1 to become free. Usage count = 1 So as to fix it, adjust vlan_dev_uninit() in Patch 1/1 so that it won't be called twice for the same device, then do the fix in vlan_dev_uninit() in Patch 2/2. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/global_data_init.c')
0 files changed, 0 insertions, 0 deletions