summaryrefslogtreecommitdiff
path: root/net/ipv4/udplite.c
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2023-06-15 15:09:00 -0700
committerJakub Kicinski <kuba@kernel.org>2023-06-15 15:09:00 -0700
commit8f0e3703571fe771d06235870ccbbf4ad41e63e8 (patch)
tree0cc8d5a814ef785c30cc7ed781346991129486ec /net/ipv4/udplite.c
parent9a36e2d44d122fe73a2a76ba73f1d50a65cf8210 (diff)
parentb144fcaf46d43b1471ad6e4de66235b8cebb3c87 (diff)
Merge branch 'udplite-dccp-print-deprecation-notice'
Kuniyuki Iwashima says: ==================== udplite/dccp: Print deprecation notice. UDP-Lite is assumed to have no users for 7 years, and DCCP is orphaned for 7 years too. Let's add deprecation notice and see if anyone responds to it. ==================== Link: https://lore.kernel.org/r/20230614194705.90673-1-kuniyu@amazon.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/ipv4/udplite.c')
-rw-r--r--net/ipv4/udplite.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/ipv4/udplite.c b/net/ipv4/udplite.c
index 56d94d23b9e0..143f93a12f25 100644
--- a/net/ipv4/udplite.c
+++ b/net/ipv4/udplite.c
@@ -22,6 +22,8 @@ static int udplite_sk_init(struct sock *sk)
{
udp_init_sock(sk);
udp_sk(sk)->pcflag = UDPLITE_BIT;
+ pr_warn_once("UDP-Lite is deprecated and scheduled to be removed in 2025, "
+ "please contact the netdev mailing list\n");
return 0;
}