From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Barnhill <0xeffeff@gmail.com> Subject: [PATCH net] net/ipv6: Move anycast init/cleanup functions out of CONFIG_PROC_FS Date: Mon, 5 Nov 2018 20:36:45 +0000 Message-ID: <20181105203645.4993-1-0xeffeff@gmail.com> Cc: davem@davemloft.net, kuznet@ms2.inr.ac.ru, yoshfuji@linux-ipv6.org, Jeff Barnhill <0xeffeff@gmail.com> To: netdev@vger.kernel.org Return-path: Received: from mail-yw1-f66.google.com ([209.85.161.66]:41354 "EHLO mail-yw1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726027AbeKFF6T (ORCPT ); Tue, 6 Nov 2018 00:58:19 -0500 Received: by mail-yw1-f66.google.com with SMTP id c126-v6so4222537ywd.8 for ; Mon, 05 Nov 2018 12:36:52 -0800 (PST) Sender: netdev-owner@vger.kernel.org List-ID: 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> --- net/ipv6/anycast.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.14.1