X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=net%2Fipv6%2Fproc.c;h=920dc9cf6a842ed5aec4d277da073cef13b4e161;hb=5632c5152aa621885d87ea0b8fdd5a6bb9f69c6f;hp=acb306a5dd56e49aa13d43d0271a04934895ace1;hpb=aad97f38b71dd2ecd730b3a3dce8264d13fbcd56;p=powerpc.git diff --git a/net/ipv6/proc.c b/net/ipv6/proc.c index acb306a5dd..920dc9cf6a 100644 --- a/net/ipv6/proc.c +++ b/net/ipv6/proc.c @@ -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; }