diff mbox series

[net-next] inet: unexport udp{4|6}_lib_lookup_skb()

Message ID 20201113113553.3411756-1-eric.dumazet@gmail.com (mailing list archive)
State Accepted
Delegated to: Netdev Maintainers
Headers show
Series [net-next] inet: unexport udp{4|6}_lib_lookup_skb() | expand

Checks

Context Check Description
netdev/cover_letter success Link
netdev/fixes_present success Link
netdev/patch_count success Link
netdev/tree_selection success Clearly marked for net-next
netdev/subject_prefix success Link
netdev/source_inline success Was 0 now: 0
netdev/verify_signedoff success Link
netdev/module_param success Was 0 now: 0
netdev/build_32bit success Errors and warnings before: 13 this patch: 13
netdev/kdoc success Errors and warnings before: 0 this patch: 0
netdev/verify_fixes success Link
netdev/checkpatch success total: 0 errors, 0 warnings, 0 checks, 14 lines checked
netdev/build_allmodconfig_warn success Errors and warnings before: 13 this patch: 13
netdev/header_inline success Link
netdev/stable success Stable not CCed

Commit Message

Eric Dumazet Nov. 13, 2020, 11:35 a.m. UTC
From: Eric Dumazet <edumazet@google.com>

These functions do not need to be exported.

Signed-off-by: Eric Dumazet <edumazet@google.com>
---
 net/ipv4/udp.c | 1 -
 net/ipv6/udp.c | 1 -
 2 files changed, 2 deletions(-)

Comments

Jakub Kicinski Nov. 15, 2020, 12:22 a.m. UTC | #1
On Fri, 13 Nov 2020 03:35:53 -0800 Eric Dumazet wrote:
> From: Eric Dumazet <edumazet@google.com>
> 
> These functions do not need to be exported.
> 
> Signed-off-by: Eric Dumazet <edumazet@google.com>

Applied, thanks!
diff mbox series

Patch

diff --git a/net/ipv4/udp.c b/net/ipv4/udp.c
index c732f5acf720d14285bc851d965851a572643051..a3f105227ccca132a8479e3ee3580495731b530b 100644
--- a/net/ipv4/udp.c
+++ b/net/ipv4/udp.c
@@ -550,7 +550,6 @@  struct sock *udp4_lib_lookup_skb(const struct sk_buff *skb,
 				 iph->daddr, dport, inet_iif(skb),
 				 inet_sdif(skb), &udp_table, NULL);
 }
-EXPORT_SYMBOL_GPL(udp4_lib_lookup_skb);
 
 /* Must be called under rcu_read_lock().
  * Does increment socket refcount.
diff --git a/net/ipv6/udp.c b/net/ipv6/udp.c
index e152f8000db4d0487afb2966d7f978e804fce281..9008f5796ad424937ca5a1df9542afc7d313b7e4 100644
--- a/net/ipv6/udp.c
+++ b/net/ipv6/udp.c
@@ -285,7 +285,6 @@  struct sock *udp6_lib_lookup_skb(const struct sk_buff *skb,
 				 &iph->daddr, dport, inet6_iif(skb),
 				 inet6_sdif(skb), &udp_table, NULL);
 }
-EXPORT_SYMBOL_GPL(udp6_lib_lookup_skb);
 
 /* Must be called under rcu_read_lock().
  * Does increment socket refcount.