Re: [PATCH net] soreuseport: do not export reuseport_add_sock()

2016-10-18 Thread David Miller
From: Eric Dumazet 
Date: Mon, 17 Oct 2016 14:22:48 -0700

> From: Eric Dumazet 
> 
> reuseport_add_sock() is not used from a module,
> no need to export it.
> 
> Signed-off-by: Eric Dumazet 

Applied, thanks Eric.


[PATCH net] soreuseport: do not export reuseport_add_sock()

2016-10-17 Thread Eric Dumazet
From: Eric Dumazet 

reuseport_add_sock() is not used from a module,
no need to export it.

Signed-off-by: Eric Dumazet 
---
 net/core/sock_reuseport.c |1 -
 1 file changed, 1 deletion(-)

diff --git a/net/core/sock_reuseport.c b/net/core/sock_reuseport.c
index e92b759d906c..9a1a352fd1eb 100644
--- a/net/core/sock_reuseport.c
+++ b/net/core/sock_reuseport.c
@@ -129,7 +129,6 @@ int reuseport_add_sock(struct sock *sk, struct sock *sk2)
 
return 0;
 }
-EXPORT_SYMBOL(reuseport_add_sock);
 
 static void reuseport_free_rcu(struct rcu_head *head)
 {