diff options
author | 2015-11-04 14:47:53 +0100 | |
---|---|---|
committer | 2015-11-04 23:49:48 -0500 | |
commit | 2a189f9e57650e9f310ddf4aad75d66c1233a064 (patch) | |
tree | 17c6ae06a11ef65498f8bddf246516fe39477288 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | qlogic: qed: fix a test for MODE_MF_SI (diff) | |
download | wireguard-linux-2a189f9e57650e9f310ddf4aad75d66c1233a064.tar.xz wireguard-linux-2a189f9e57650e9f310ddf4aad75d66c1233a064.zip |
ipv6: clean up dev_snmp6 proc entry when we fail to initialize inet6_dev
In ipv6_add_dev, when addrconf_sysctl_register fails, we do not clean up
the dev_snmp6 entry that we have already registered for this device.
Call snmp6_unregister_dev in this case.
Fixes: a317a2f19da7d ("ipv6: fail early when creating netdev named all or default")
Reported-by: Dmitry Vyukov <dvyukov@google.com>
Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions