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

Subsystems: networking [general], networking [sockets], the rest

STALE3612d

2 messages, 2 authors, 2016-10-18 · open the first message on its own page

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

From: Eric Dumazet <hidden>
Date: 2016-10-17 21:22:51

From: Eric Dumazet <edumazet@google.com>

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

Signed-off-by: Eric Dumazet <edumazet@google.com>
---
 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)
 {

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

From: David Miller <davem@davemloft.net>
Date: 2016-10-18 18:18:48

From: Eric Dumazet <redacted>
Date: Mon, 17 Oct 2016 14:22:48 -0700
From: Eric Dumazet <edumazet@google.com>

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

Signed-off-by: Eric Dumazet <edumazet@google.com>
Applied, thanks Eric.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help