aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/udp_impl.h
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2016-08-23 11:39:26 -0700
committerDavid S. Miller <davem@davemloft.net>2016-08-23 23:23:50 -0700
commit6a6ad2a4e57bc907a6977eef6cad49348ad2744b (patch)
treea3e8a7d9cefa9d2a975b422015e7b375d336e8f2 /net/ipv6/udp_impl.h
parentnet: diag: support SOCK_DESTROY for UDP sockets (diff)
downloadlinux-dev-6a6ad2a4e57bc907a6977eef6cad49348ad2744b.tar.xz
linux-dev-6a6ad2a4e57bc907a6977eef6cad49348ad2744b.zip
ipv6: udp: remove udp_v6_clear_sk()
Now RCU lookups of ipv6 udp sockets no longer dereference pinet6 field, we can get rid of udp_v6_clear_sk() helper. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r--net/ipv6/udp_impl.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/ipv6/udp_impl.h b/net/ipv6/udp_impl.h
index 0682c031ccdc..f6eb1ab34f4b 100644
--- a/net/ipv6/udp_impl.h
+++ b/net/ipv6/udp_impl.h
@@ -29,8 +29,6 @@ int udpv6_recvmsg(struct sock *sk, struct msghdr *msg, size_t len, int noblock,
int udpv6_queue_rcv_skb(struct sock *sk, struct sk_buff *skb);
void udpv6_destroy_sock(struct sock *sk);
-void udp_v6_clear_sk(struct sock *sk, int size);
-
#ifdef CONFIG_PROC_FS
int udp6_seq_show(struct seq_file *seq, void *v);
#endif