summaryrefslogtreecommitdiff
path: root/include/trace
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2025-04-11 18:58:13 -0700
committerJakub Kicinski <kuba@kernel.org>2025-04-11 18:58:14 -0700
commit8bb3212be4b45f7a6089e45dda7dfe9abcee4d65 (patch)
treeb2d416ea98c533077e816803408848fa3058a65e /include/trace
parentba5560e53dacefddf8c47802b7a30b2e53afdcb8 (diff)
parent235bd9d21fcdf07dd125daa3e60ab64f8aefb927 (diff)
Merge branch 'net-retire-dccp-socket'
Kuniyuki Iwashima says: ==================== net: Retire DCCP socket. As announced by commit b144fcaf46d4 ("dccp: Print deprecation notice."), it's time to remove DCCP socket. The patch 2 removes net/dccp, LSM code, doc, and etc, leaving DCCP netfilter modules. The patch 3 unexports shared functions for DCCP, and the patch 4 renames tcp_or_dccp_get_hashinfo() to tcp_get_hashinfo(). We can do more cleanup; for example, remove IPPROTO_TCP checks in __inet6?_check_established(), remove __module_get() for twsk, remove timewait_sock_ops.twsk_destructor(), etc, but it will be more of TCP stuff, so I'll defer to a later series. v2: https://lore.kernel.org/20250409003014.19697-1-kuniyu@amazon.com v1: https://lore.kernel.org/20250407231823.95927-1-kuniyu@amazon.com ==================== Link: https://patch.msgid.link/20250410023921.11307-1-kuniyu@amazon.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/trace')
-rw-r--r--include/trace/events/sock.h1
-rw-r--r--include/trace/events/sunrpc.h2
2 files changed, 0 insertions, 3 deletions
diff --git a/include/trace/events/sock.h b/include/trace/events/sock.h
index 3836de435d9d..b5310439536e 100644
--- a/include/trace/events/sock.h
+++ b/include/trace/events/sock.h
@@ -19,7 +19,6 @@
/* The protocol traced by inet_sock_set_state */
#define inet_protocol_names \
EM(IPPROTO_TCP) \
- EM(IPPROTO_DCCP) \
EM(IPPROTO_SCTP) \
EMe(IPPROTO_MPTCP)
diff --git a/include/trace/events/sunrpc.h b/include/trace/events/sunrpc.h
index 5d331383047b..de214f1dea58 100644
--- a/include/trace/events/sunrpc.h
+++ b/include/trace/events/sunrpc.h
@@ -21,7 +21,6 @@ TRACE_DEFINE_ENUM(SOCK_DGRAM);
TRACE_DEFINE_ENUM(SOCK_RAW);
TRACE_DEFINE_ENUM(SOCK_RDM);
TRACE_DEFINE_ENUM(SOCK_SEQPACKET);
-TRACE_DEFINE_ENUM(SOCK_DCCP);
TRACE_DEFINE_ENUM(SOCK_PACKET);
#define show_socket_type(type) \
@@ -31,7 +30,6 @@ TRACE_DEFINE_ENUM(SOCK_PACKET);
{ SOCK_RAW, "RAW" }, \
{ SOCK_RDM, "RDM" }, \
{ SOCK_SEQPACKET, "SEQPACKET" }, \
- { SOCK_DCCP, "DCCP" }, \
{ SOCK_PACKET, "PACKET" })
/* This list is known to be incomplete, add new enums as needed. */