inet: unexport udp{4|6}_lib_lookup_skb()
authorEric Dumazet <edumazet@google.com>
Fri, 13 Nov 2020 11:35:53 +0000 (03:35 -0800)
committerJakub Kicinski <kuba@kernel.org>
Sun, 15 Nov 2020 00:21:34 +0000 (16:21 -0800)
These functions do not need to be exported.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Link: https://lore.kernel.org/r/20201113113553.3411756-1-eric.dumazet@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/ipv4/udp.c
net/ipv6/udp.c

index c732f5a..a3f1052 100644 (file)
@@ -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.
index e152f80..9008f57 100644 (file)
@@ -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.