[IPV6]: Track device renames in snmp6.
[powerpc.git] / net / ipv6 / proc.c
index acb306a..920dc9c 100644 (file)
@@ -223,6 +223,7 @@ int snmp6_unregister_dev(struct inet6_dev *idev)
                return -EINVAL;
        remove_proc_entry(idev->stats.proc_dir_entry->name,
                          proc_net_devsnmp6);
+       idev->stats.proc_dir_entry = NULL;
        return 0;
 }