All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net] net/ipv6: Move anycast init/cleanup functions out of CONFIG_PROC_FS
@ 2018-11-05 20:36 Jeff Barnhill
  2018-11-05 21:37 ` David Miller
  0 siblings, 1 reply; 3+ messages in thread
From: Jeff Barnhill @ 2018-11-05 20:36 UTC (permalink / raw)
  To: netdev; +Cc: davem, kuznet, yoshfuji, Jeff Barnhill

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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH net] net/ipv6: Move anycast init/cleanup functions out of CONFIG_PROC_FS
  2018-11-05 20:36 [PATCH net] net/ipv6: Move anycast init/cleanup functions out of CONFIG_PROC_FS Jeff Barnhill
@ 2018-11-05 21:37 ` David Miller
  2018-11-05 22:02   ` Jeff Barnhill
  0 siblings, 1 reply; 3+ messages in thread
From: David Miller @ 2018-11-05 21:37 UTC (permalink / raw)
  To: 0xeffeff; +Cc: netdev, kuznet, yoshfuji

From: Jeff Barnhill <0xeffeff@gmail.com>
Date: Mon,  5 Nov 2018 20:36:45 +0000

> 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>

Applied, thanks Jeff.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH net] net/ipv6: Move anycast init/cleanup functions out of CONFIG_PROC_FS
  2018-11-05 21:37 ` David Miller
@ 2018-11-05 22:02   ` Jeff Barnhill
  0 siblings, 0 replies; 3+ messages in thread
From: Jeff Barnhill @ 2018-11-05 22:02 UTC (permalink / raw)
  To: davem; +Cc: netdev, Alexey Kuznetsov, yoshfuji

Thanks, David.  Sorry for missing that in the original patch.

Jeff
On Mon, Nov 5, 2018 at 4:55 PM David Miller <davem@davemloft.net> wrote:
>
> From: Jeff Barnhill <0xeffeff@gmail.com>
> Date: Mon,  5 Nov 2018 20:36:45 +0000
>
> > 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>
>
> Applied, thanks Jeff.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-11-06  7:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-05 20:36 [PATCH net] net/ipv6: Move anycast init/cleanup functions out of CONFIG_PROC_FS Jeff Barnhill
2018-11-05 21:37 ` David Miller
2018-11-05 22:02   ` Jeff Barnhill

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.