aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2022-10-24 09:40:39 +0100
committerDavid S. Miller <davem@davemloft.net>2022-10-24 09:40:39 +0100
commit04d63e62efa4d33b340570d10a59f9c20e58c81a (patch)
treee4be7dced15359adc7c6a00b3890d9ae0e7a4b0f /include
parentMerge branch 'dpaa2-eth-AF_XDP-zc' (diff)
parentinet6: Clean up failure path in do_ipv6_setsockopt(). (diff)
downloadwireguard-linux-04d63e62efa4d33b340570d10a59f9c20e58c81a.tar.xz
wireguard-linux-04d63e62efa4d33b340570d10a59f9c20e58c81a.zip
Merge branch 'inet6_destroy_sock-calls-remove'
Kuniyuki Iwashima says: ==================== inet6: Remove inet6_destroy_sock() calls. This is a follow-up series for commit d38afeec26ed ("tcp/udp: Call inet6_destroy_sock() in IPv6 sk->sk_destruct()."). This series cleans up unnecessary inet6_destory_sock() calls in sk->sk_prot->destroy() and call it from sk->sk_destruct() to make sure we do not leak memory related to IPv6 specific-resources. Changes: v2: * patch 1 * Fix build failure for CONFIG_MPTCP_IPV6=y v1: https://lore.kernel.org/netdev/20221018190956.1308-1-kuniyu@amazon.com/ ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/net/transp_v6.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/net/transp_v6.h b/include/net/transp_v6.h
index b830463e3dff..d27b1caf3753 100644
--- a/include/net/transp_v6.h
+++ b/include/net/transp_v6.h
@@ -58,8 +58,6 @@ ip6_dgram_sock_seq_show(struct seq_file *seq, struct sock *sp, __u16 srcp,
#define LOOPBACK4_IPV6 cpu_to_be32(0x7f000006)
-void inet6_destroy_sock(struct sock *sk);
-
#define IPV6_SEQ_DGRAM_HEADER \
" sl " \
"local_address " \