diff options
Diffstat (limited to 'net/ipv6/proc.c')
| -rw-r--r-- | net/ipv6/proc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv6/proc.c b/net/ipv6/proc.c index acb306a5dd56..920dc9cf6a84 100644 --- a/net/ipv6/proc.c +++ b/net/ipv6/proc.c | |||
| @@ -223,6 +223,7 @@ int snmp6_unregister_dev(struct inet6_dev *idev) | |||
| 223 | return -EINVAL; | 223 | return -EINVAL; |
| 224 | remove_proc_entry(idev->stats.proc_dir_entry->name, | 224 | remove_proc_entry(idev->stats.proc_dir_entry->name, |
| 225 | proc_net_devsnmp6); | 225 | proc_net_devsnmp6); |
| 226 | idev->stats.proc_dir_entry = NULL; | ||
| 226 | return 0; | 227 | return 0; |
| 227 | } | 228 | } |
| 228 | 229 | ||
