inet: unexport udp{4|6}_lib_lookup_skb()
Subsystems (3)
PATCH 1/1 inet: unexport udp{4|6}_lib_lookup_skb()
From: Eric Dumazet <[email protected]>
These functions do not need to be exported.
Signed-off-by Eric Dumazet <[email protected]>
--- net/ipv4/udp.c | 1 - net/ipv6/udp.c | 1 - 2 files changed, 2 deletions(-)
net/ipv4/udp.c +0 -1
@@ -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
@@ -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
Quoted 5 lines · On Fri, 13 Nov 2020 03:35:53 -0800 Eric Dumazet wrote:
From: Eric Dumazet <[email protected]>
These functions do not need to be exported.
Signed-off-by Eric Dumazet <[email protected]>
Applied, thanks!