{"id":2209933,"url":"http://patchwork.ozlabs.org/api/1.2/patches/2209933/?format=json","web_url":"http://patchwork.ozlabs.org/project/netfilter-devel/patch/20260312180606.5751-1-fw@strlen.de/","project":{"id":26,"url":"http://patchwork.ozlabs.org/api/1.2/projects/26/?format=json","name":"Netfilter Development","link_name":"netfilter-devel","list_id":"netfilter-devel.vger.kernel.org","list_email":"netfilter-devel@vger.kernel.org","web_url":null,"scm_url":null,"webscm_url":null,"list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20260312180606.5751-1-fw@strlen.de>","list_archive_url":null,"date":"2026-03-12T18:05:57","name":"[nf-next] netfilter: add deprecation warning for dccp support","commit_ref":null,"pull_url":null,"state":"accepted","archived":true,"hash":"9f2acae5f1aea126712623819b120cf33eb209a3","submitter":{"id":1025,"url":"http://patchwork.ozlabs.org/api/1.2/people/1025/?format=json","name":"Florian Westphal","email":"fw@strlen.de"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/netfilter-devel/patch/20260312180606.5751-1-fw@strlen.de/mbox/","series":[{"id":495664,"url":"http://patchwork.ozlabs.org/api/1.2/series/495664/?format=json","web_url":"http://patchwork.ozlabs.org/project/netfilter-devel/list/?series=495664","date":"2026-03-12T18:05:57","name":"[nf-next] netfilter: add deprecation warning for dccp support","version":1,"mbox":"http://patchwork.ozlabs.org/series/495664/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/2209933/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/2209933/checks/","tags":{},"related":[],"headers":{"Return-Path":"\n <netfilter-devel+bounces-11161-incoming=patchwork.ozlabs.org@vger.kernel.org>","X-Original-To":["incoming@patchwork.ozlabs.org","netfilter-devel@vger.kernel.org"],"Delivered-To":"patchwork-incoming@legolas.ozlabs.org","Authentication-Results":["legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=2600:3c04:e001:36c::12fc:5321; helo=tor.lore.kernel.org;\n envelope-from=netfilter-devel+bounces-11161-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)","smtp.subspace.kernel.org;\n arc=none smtp.client-ip=91.216.245.30","smtp.subspace.kernel.org;\n dmarc=none (p=none dis=none) header.from=strlen.de","smtp.subspace.kernel.org;\n spf=pass smtp.mailfrom=Chamillionaire.breakpoint.cc"],"Received":["from tor.lore.kernel.org (tor.lore.kernel.org\n [IPv6:2600:3c04:e001:36c::12fc:5321])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fWwYW4Gf8z1y02\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 13 Mar 2026 05:06:55 +1100 (AEDT)","from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby tor.lore.kernel.org (Postfix) with ESMTP id 71598305616F\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 12 Mar 2026 18:06:18 +0000 (UTC)","from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id F2D873FEB28;\n\tThu, 12 Mar 2026 18:06:16 +0000 (UTC)","from Chamillionaire.breakpoint.cc (Chamillionaire.breakpoint.cc\n [91.216.245.30])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby smtp.subspace.kernel.org (Postfix) with ESMTPS id AF3983FEB0A\n\tfor <netfilter-devel@vger.kernel.org>; Thu, 12 Mar 2026 18:06:13 +0000 (UTC)","by Chamillionaire.breakpoint.cc (Postfix, from userid 1003)\n\tid EE26660345; Thu, 12 Mar 2026 19:06:11 +0100 (CET)"],"ARC-Seal":"i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1773338776; cv=none;\n b=BhWABo0D/frRvRp85lIk82uk0Tgy7n3IzN6nyYd5Smp8GlXi/xFmOtJnx9v7ga0ASJUyaTKWez9/uZJUP467pMk9wiM1Jk10iV8f0Fcp0pHkgV6lpL6PWZgELDeu/YHfe7NVYg5WGBjbp55L2TTLB/vdClXxthrWpYK00vuTo+o=","ARC-Message-Signature":"i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1773338776; c=relaxed/simple;\n\tbh=144+/10HwDzpLDdc3al4OBoPW6+3EsmqUNy9WobhsnY=;\n\th=From:To:Cc:Subject:Date:Message-ID:MIME-Version;\n b=D9Yel/R15PSPLO1c7NfMMVdToS3J50rsxl97reRRDrVBtuBrEZyhgmrH0jlMFiB9oe0a6GhE8SvlpRJZExHvYi9BbVaD6+soUYeIGIbtV2B4jU31P6L7c3g+mwFJKvhQpj+ca6wEmn+lCqpinR+9YfKD1An3bFVel+4QEXVq0ZM=","ARC-Authentication-Results":"i=1; smtp.subspace.kernel.org;\n dmarc=none (p=none dis=none) header.from=strlen.de;\n spf=pass smtp.mailfrom=Chamillionaire.breakpoint.cc;\n arc=none smtp.client-ip=91.216.245.30","From":"Florian Westphal <fw@strlen.de>","To":"<netfilter-devel@vger.kernel.org>","Cc":"Florian Westphal <fw@strlen.de>","Subject":"[PATCH nf-next] netfilter: add deprecation warning for dccp support","Date":"Thu, 12 Mar 2026 19:05:57 +0100","Message-ID":"<20260312180606.5751-1-fw@strlen.de>","X-Mailer":"git-send-email 2.52.0","Precedence":"bulk","X-Mailing-List":"netfilter-devel@vger.kernel.org","List-Id":"<netfilter-devel.vger.kernel.org>","List-Subscribe":"<mailto:netfilter-devel+subscribe@vger.kernel.org>","List-Unsubscribe":"<mailto:netfilter-devel+unsubscribe@vger.kernel.org>","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit"},"content":"Add a deprecation warning for the xt_dccp match and the\nnft exthdr code.\n\nSigned-off-by: Florian Westphal <fw@strlen.de>\n---\n net/netfilter/nft_exthdr.c | 4 ++++\n net/netfilter/xt_dccp.c    | 4 ++++\n 2 files changed, 8 insertions(+)","diff":"diff --git a/net/netfilter/nft_exthdr.c b/net/netfilter/nft_exthdr.c\nindex 5f01269a49bd..1602e4266f34 100644\n--- a/net/netfilter/nft_exthdr.c\n+++ b/net/netfilter/nft_exthdr.c\n@@ -796,6 +796,10 @@ nft_exthdr_select_ops(const struct nft_ctx *ctx,\n \t\tbreak;\n #ifdef CONFIG_NFT_EXTHDR_DCCP\n \tcase NFT_EXTHDR_OP_DCCP:\n+\t\tpr_warn_once(\"The dccp option matching is deprecated and scheduled to be removed in 2027, \"\n+\t\t\t     \"please contact the netfilter-devel mailing list or update your \"\n+\t\t\t     \"nftables rules\\n\");\n+\n \t\tif (tb[NFTA_EXTHDR_DREG])\n \t\t\treturn &nft_exthdr_dccp_ops;\n \t\tbreak;\ndiff --git a/net/netfilter/xt_dccp.c b/net/netfilter/xt_dccp.c\nindex e5a13ecbe67a..9b8720c57d8d 100644\n--- a/net/netfilter/xt_dccp.c\n+++ b/net/netfilter/xt_dccp.c\n@@ -159,6 +159,10 @@ static int __init dccp_mt_init(void)\n {\n \tint ret;\n \n+\tpr_warn_once(\"The DCCP match is deprecated and scheduled to be removed in 2027, \"\n+\t\t     \"please contact the netfilter-devel mailing list or update your \"\n+\t\t     \"iptables rules\\n\");\n+\n \t/* doff is 8 bits, so the maximum option size is (4*256).  Don't put\n \t * this in BSS since DaveM is worried about locked TLB's for kernel\n \t * BSS. */\n","prefixes":["nf-next"]}