diff --git a/net/ipv6/udp.c b/net/ipv6/udp.c index e51fc3eee6dbd65506e8612fc5782b9482cf4708..0aba654f5b91c198cce365a5dd619e30b566e798 100644 --- a/net/ipv6/udp.c +++ b/net/ipv6/udp.c @@ -1496,7 +1496,8 @@ int __net_init udp6_proc_init(struct net *net) return udp_proc_register(net, &udp6_seq_afinfo); } -void udp6_proc_exit(struct net *net) { +void udp6_proc_exit(struct net *net) +{ udp_proc_unregister(net, &udp6_seq_afinfo); } #endif /* CONFIG_PROC_FS */