Skip to contentSkip to conversation

inet: unexport udp{4|6}_lib_lookup_skb()

PATCH Applied Eric Dumazet 2 participants 2 messages Nov 13, 2020 – Nov 15, 2020

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 inet: unexport udp{4|6}_lib_lookup_skb()

From: Eric Dumazet <[email protected]>

These functions do not need to be exported.

---
 net/ipv4/udp.c | 1 -
 net/ipv6/udp.c | 1 -
 2 files changed, 2 deletions(-)
net/ipv4/udp.c +0 -1
index c732f5acf720d14285bc851d965851a572643051..a3f105227ccca132a8479e3ee3580495731b530b 100644
@@ -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.
net/ipv6/udp.c +0 -1
index e152f8000db4d0487afb2966d7f978e804fce281..9008f5796ad424937ca5a1df9542afc7d313b7e4 100644
@@ -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.
Signature · 1 line
2.29.2.299.gdc1121823c-goog