Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.1/patches/2231773/?format=api
{ "id": 2231773, "url": "http://patchwork.ozlabs.org/api/1.1/patches/2231773/?format=api", "web_url": "http://patchwork.ozlabs.org/project/netfilter-devel/patch/20260501122237.296262-7-pablo@netfilter.org/", "project": { "id": 26, "url": "http://patchwork.ozlabs.org/api/1.1/projects/26/?format=api", "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 }, "msgid": "<20260501122237.296262-7-pablo@netfilter.org>", "date": "2026-05-01T12:22:29", "name": "[net,06/14] netfilter: xt_CT: fix usersize for v1 and v2 revision", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "32dcd2d1174b34b37d7b68431026609e9ee46353", "submitter": { "id": 1315, "url": "http://patchwork.ozlabs.org/api/1.1/people/1315/?format=api", "name": "Pablo Neira Ayuso", "email": "pablo@netfilter.org" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/netfilter-devel/patch/20260501122237.296262-7-pablo@netfilter.org/mbox/", "series": [ { "id": 502449, "url": "http://patchwork.ozlabs.org/api/1.1/series/502449/?format=api", "web_url": "http://patchwork.ozlabs.org/project/netfilter-devel/list/?series=502449", "date": "2026-05-01T12:22:23", "name": "[net,01/14] netfilter: replace skb_try_make_writable() by skb_ensure_writable()", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/502449/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2231773/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2231773/checks/", "tags": {}, "headers": { "Return-Path": "\n <netfilter-devel+bounces-12376-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\tdkim=pass (2048-bit key;\n unprotected) header.d=netfilter.org header.i=@netfilter.org\n header.a=rsa-sha256 header.s=2025 header.b=qA088Hgf;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=2600:3c0a:e001:db::12fc:5321; helo=sea.lore.kernel.org;\n envelope-from=netfilter-devel+bounces-12376-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)", "smtp.subspace.kernel.org;\n\tdkim=pass (2048-bit key) header.d=netfilter.org header.i=@netfilter.org\n header.b=\"qA088Hgf\"", "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=217.70.190.124", "smtp.subspace.kernel.org;\n dmarc=none (p=none dis=none) header.from=netfilter.org", "smtp.subspace.kernel.org;\n spf=pass smtp.mailfrom=netfilter.org" ], "Received": [ "from sea.lore.kernel.org (sea.lore.kernel.org\n [IPv6:2600:3c0a:e001:db::12fc:5321])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g6VbK02m4z1y04\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 01 May 2026 22:24:29 +1000 (AEST)", "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sea.lore.kernel.org (Postfix) with ESMTP id 8EC0930363B5\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 1 May 2026 12:22:54 +0000 (UTC)", "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id D51C73A254E;\n\tFri, 1 May 2026 12:22:53 +0000 (UTC)", "from mail.netfilter.org (mail.netfilter.org [217.70.190.124])\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 2C11933DEFC;\n\tFri, 1 May 2026 12:22:52 +0000 (UTC)", "from localhost.localdomain (mail-agni [217.70.190.124])\n\tby mail.netfilter.org (Postfix) with ESMTPSA id 41B7A6017E;\n\tFri, 1 May 2026 14:22:50 +0200 (CEST)" ], "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1777638173; cv=none;\n b=Yh3JXW8kaKzZksh8yO8EpAg1J+3WqW7WYN2SIYJqxq6gXu5i9LCAHi6sY9JQfY7fh3oKMHp9k5r88SM/oAzayYlJZmbDyIJTQmwq0pwF0q7DAeftOoaQ+OXBhk++ru9T9Chrd3gz1ncMgd0WxXVxoDpKJu6W+RO2fjJrWaZ89SU=", "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1777638173; c=relaxed/simple;\n\tbh=YRm7S3lQnRkm9w9lpUqeXAReP3mewEujPX7HTKTY0Ps=;\n\th=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:\n\t MIME-Version;\n b=haVnUbv4sg0qqWy9PrVmCCqjPiDZeO2ULJAxbBQzGeHBwWKxRdBaGUvuQGOJzTdLhRxRalSz1X9fQCPUP84K0lSzrXStTouVu5+r+MfzLhK7MhTM1s2Q2axdAimiSC8ZcP/GSG3lJ1xqCsz3DibNCFDhjlAwf79DaK9x4g0kziI=", "ARC-Authentication-Results": "i=1; smtp.subspace.kernel.org;\n dmarc=none (p=none dis=none) header.from=netfilter.org;\n spf=pass smtp.mailfrom=netfilter.org;\n dkim=pass (2048-bit key) header.d=netfilter.org header.i=@netfilter.org\n header.b=qA088Hgf; arc=none smtp.client-ip=217.70.190.124", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=netfilter.org;\n\ts=2025; t=1777638170;\n\tbh=fZwSvvmeyQnZkScrJJgUoW+nORgPNsfW7+kVz6fkUWM=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=qA088HgfoU7lFh81pRbSPJFRKmO45azBuQbj0CF9OIGuNA0vRDkdQuwt0JalTvRi5\n\t sPGJ1+WdNbENGnyuOzbSvTF9DT9lwN+zt5hz+TPNpAiYF5zdgUWz4xCBFp+i2OaiR9\n\t ZjnzNcfZbP2X/46/S9kSlmNHkt1SIj0YHQzly4M8+xqY2eCZkoCcuvEm7+PWmGh9by\n\t nyNMmFbJ1c0m+0PBpyOw3RhR+V7W79LV4qCYH97jBrZP6LMOFx+OU8qGGtMJY0UbkZ\n\t TCyCnMFPVZWdsfTjNT05RPILEoxsievHgdg2WqBjo4mMWWRDJB+9qFHt9RkdGuhG5r\n\t XmPeolB1mKm9Q==", "From": "Pablo Neira Ayuso <pablo@netfilter.org>", "To": "netfilter-devel@vger.kernel.org", "Cc": "davem@davemloft.net,\n\tnetdev@vger.kernel.org,\n\tkuba@kernel.org,\n\tpabeni@redhat.com,\n\tedumazet@google.com,\n\tfw@strlen.de,\n\thorms@kernel.org", "Subject": "[PATCH net 06/14] netfilter: xt_CT: fix usersize for v1 and v2\n revision", "Date": "Fri, 1 May 2026 14:22:29 +0200", "Message-ID": "<20260501122237.296262-7-pablo@netfilter.org>", "X-Mailer": "git-send-email 2.47.3", "In-Reply-To": "<20260501122237.296262-1-pablo@netfilter.org>", "References": "<20260501122237.296262-1-pablo@netfilter.org>", "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": "From: Florian Westphal <fw@strlen.de>\n\nWhile resurrecting the conntrack-tool test cases I found following bug:\nIn:\niptables -I OUTPUT -t raw -p 13 -j CT --timeout test-generic\nOut:\n[0:0] -A OUTPUT -p 13 -j CT --timeout test\n\nData after first four bytes of the timeout policy name is never\ncopied to userspace because its treated as kernel-only.\n\nFixes: ec2318904965 (\"xtables: extend matches and targets with .usersize\")\nSigned-off-by: Florian Westphal <fw@strlen.de>\nSigned-off-by: Pablo Neira Ayuso <pablo@netfilter.org>\n---\n net/netfilter/xt_CT.c | 8 ++++----\n 1 file changed, 4 insertions(+), 4 deletions(-)", "diff": "diff --git a/net/netfilter/xt_CT.c b/net/netfilter/xt_CT.c\nindex 498f5871c84a..d2aeacf94230 100644\n--- a/net/netfilter/xt_CT.c\n+++ b/net/netfilter/xt_CT.c\n@@ -354,7 +354,7 @@ static struct xt_target xt_ct_tg_reg[] __read_mostly = {\n \t\t.family\t\t= NFPROTO_IPV4,\n \t\t.revision\t= 1,\n \t\t.targetsize\t= sizeof(struct xt_ct_target_info_v1),\n-\t\t.usersize\t= offsetof(struct xt_ct_target_info, ct),\n+\t\t.usersize\t= offsetof(struct xt_ct_target_info_v1, ct),\n \t\t.checkentry\t= xt_ct_tg_check_v1,\n \t\t.destroy\t= xt_ct_tg_destroy_v1,\n \t\t.target\t\t= xt_ct_target_v1,\n@@ -366,7 +366,7 @@ static struct xt_target xt_ct_tg_reg[] __read_mostly = {\n \t\t.family\t\t= NFPROTO_IPV4,\n \t\t.revision\t= 2,\n \t\t.targetsize\t= sizeof(struct xt_ct_target_info_v1),\n-\t\t.usersize\t= offsetof(struct xt_ct_target_info, ct),\n+\t\t.usersize\t= offsetof(struct xt_ct_target_info_v1, ct),\n \t\t.checkentry\t= xt_ct_tg_check_v2,\n \t\t.destroy\t= xt_ct_tg_destroy_v1,\n \t\t.target\t\t= xt_ct_target_v1,\n@@ -398,7 +398,7 @@ static struct xt_target xt_ct_tg_reg[] __read_mostly = {\n \t\t.family\t\t= NFPROTO_IPV6,\n \t\t.revision\t= 1,\n \t\t.targetsize\t= sizeof(struct xt_ct_target_info_v1),\n-\t\t.usersize\t= offsetof(struct xt_ct_target_info, ct),\n+\t\t.usersize\t= offsetof(struct xt_ct_target_info_v1, ct),\n \t\t.checkentry\t= xt_ct_tg_check_v1,\n \t\t.destroy\t= xt_ct_tg_destroy_v1,\n \t\t.target\t\t= xt_ct_target_v1,\n@@ -410,7 +410,7 @@ static struct xt_target xt_ct_tg_reg[] __read_mostly = {\n \t\t.family\t\t= NFPROTO_IPV6,\n \t\t.revision\t= 2,\n \t\t.targetsize\t= sizeof(struct xt_ct_target_info_v1),\n-\t\t.usersize\t= offsetof(struct xt_ct_target_info, ct),\n+\t\t.usersize\t= offsetof(struct xt_ct_target_info_v1, ct),\n \t\t.checkentry\t= xt_ct_tg_check_v2,\n \t\t.destroy\t= xt_ct_tg_destroy_v1,\n \t\t.target\t\t= xt_ct_target_v1,\n", "prefixes": [ "net", "06/14" ] }