diff options
author | 2018-11-05 20:36:45 +0000 | |
---|---|---|
committer | 2018-11-05 13:36:27 -0800 | |
commit | 6915ed86cca6a0b422e8ada05ec7009d2074b88a (patch) | |
tree | 230614ab4c78a264e45b38335a62c1c176bb8d7a /net/ipv6 | |
parent | bonding/802.3ad: fix link_failure_count tracking (diff) | |
download | linux-6915ed86cca6a0b422e8ada05ec7009d2074b88a.tar.gz linux-6915ed86cca6a0b422e8ada05ec7009d2074b88a.tar.bz2 linux-6915ed86cca6a0b422e8ada05ec7009d2074b88a.zip |
net/ipv6: Move anycast init/cleanup functions out of CONFIG_PROC_FS
Move the anycast.c init and cleanup functions which were inadvertently
added inside the CONFIG_PROC_FS definition.
Fixes: 2384d02520ff ("net/ipv6: Add anycast addresses to a global hashtable")
Signed-off-by: Jeff Barnhill <0xeffeff@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6')
-rw-r--r-- | net/ipv6/anycast.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/anycast.c b/net/ipv6/anycast.c index 7698637cf827..94999058e110 100644 --- a/net/ipv6/anycast.c +++ b/net/ipv6/anycast.c @@ -590,6 +590,7 @@ void ac6_proc_exit(struct net *net) { remove_proc_entry("anycast6", net->proc_net); } +#endif /* Init / cleanup code */ @@ -611,4 +612,3 @@ void ipv6_anycast_cleanup(void) WARN_ON(!hlist_empty(&inet6_acaddr_lst[i])); spin_unlock(&acaddr_hash_lock); } -#endif |