Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.1/patches/2227996/?format=api
{ "id": 2227996, "url": "http://patchwork.ozlabs.org/api/1.1/patches/2227996/?format=api", "web_url": "http://patchwork.ozlabs.org/project/netfilter-devel/patch/20260424190513.32823-5-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": "<20260424190513.32823-5-pablo@netfilter.org>", "date": "2026-04-24T19:05:06", "name": "[net,04/11] netfilter: nf_tables: join hook list via splice_list_rcu() in commit phase", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "6e9e6b82bf3b8bb393bc45041bb87c8e62f2ac94", "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/20260424190513.32823-5-pablo@netfilter.org/mbox/", "series": [ { "id": 501399, "url": "http://patchwork.ozlabs.org/api/1.1/series/501399/?format=api", "web_url": "http://patchwork.ozlabs.org/project/netfilter-devel/list/?series=501399", "date": "2026-04-24T19:05:02", "name": "[net,01/11] netfilter: arp_tables: fix IEEE1394 ARP payload parsing", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/501399/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2227996/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2227996/checks/", "tags": {}, "headers": { "Return-Path": "\n <netfilter-devel+bounces-12185-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=Nz43cFf+;\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-12185-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=\"Nz43cFf+\"", "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 4g2Msf58hYz1yDD\n\tfor <incoming@patchwork.ozlabs.org>; Sat, 25 Apr 2026 05:07:34 +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 2EA313031323\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 24 Apr 2026 19:05:52 +0000 (UTC)", "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id B31813F9F54;\n\tFri, 24 Apr 2026 19:05:51 +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 F1EA53FA5C3;\n\tFri, 24 Apr 2026 19:05:49 +0000 (UTC)", "from localhost.localdomain (mail-agni [217.70.190.124])\n\tby mail.netfilter.org (Postfix) with ESMTPSA id E95B460285;\n\tFri, 24 Apr 2026 21:05:47 +0200 (CEST)" ], "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1777057551; cv=none;\n b=Tyb83myCP2BW+ofAo3Hk5jxUGa9EYBzcc0ThJEplX8sN5To7DfCo5UlBOjVJVCpMS2iEdTEmG4cbTplsc1Det8JNl4LmpMbla+ZBrWpmidb1uziygngJQWdGQhLt+833yc9LMIWuRyJY2cdhHCKoYq8WLDuqkgCPGvl7c0Frric=", "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1777057551; c=relaxed/simple;\n\tbh=/ISfDvQ6Ziwxxnw2RwrHn4iWRttkkq+owJBmFm8DZAw=;\n\th=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:\n\t MIME-Version;\n b=pKjXdXI7ssUmhH9mJKCukQ3zzrOXcE7i4SIjc6Xv1UanQsI3c8E5yVvkQIV2rIhjPELZhSfFGyfPlWp1+LWLaWQfHB/tMHTgh6eYW0nYdw3dLB99lPBW8R3r4V5B0WS+X2CtWCMgfyPxm57LcrLmcCe17nJ2E9at+escLaGPbCU=", "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=Nz43cFf+; 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=1777057548;\n\tbh=aJXCJapzwqFT+lx7dDN5kZ7VyZWMoGu7cjrH+fjFC18=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=Nz43cFf+iRZdTGB3PQtWyAqYioU13wALPBKEjwM4YRrUGc9j7UFmjQ0HyHbpWk5ze\n\t BVHIIOINQYW5ldCTtKE4HPxjmu3/oDzqe4StLzmJBwV9LqCUkuVpCmBGZcbt/fi3zJ\n\t +xnWapZF0ppSuEjXj6wUAS4wW3rJOH5MLqdqwHxfD5UcWzNv5j5gFXYCiyuVLIpdSi\n\t 5vHMUOX7XW8e6gQ7Vxdt58RYcjWRRg7dXgbhkTy5CXgy7Fxd3snANk9o/uVcIvfNCH\n\t nzfQC0uWa+h0h01jNRxSmP1hpEkqWXDzMGlweXENyZFsWf7Uul/zoEZqds1za8GWSG\n\t DXkRz2J+r9/gw==", "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 04/11] netfilter: nf_tables: join hook list via\n splice_list_rcu() in commit phase", "Date": "Fri, 24 Apr 2026 21:05:06 +0200", "Message-ID": "<20260424190513.32823-5-pablo@netfilter.org>", "X-Mailer": "git-send-email 2.47.3", "In-Reply-To": "<20260424190513.32823-1-pablo@netfilter.org>", "References": "<20260424190513.32823-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": "Publish new hooks in the list into the basechain/flowtable using\nsplice_list_rcu() to ensure netlink dump list traversal via rcu is safe\nwhile concurrent ruleset update is going on.\n\nFixes: 78d9f48f7f44 (\"netfilter: nf_tables: add devices to existing flowtable\")\nFixes: b9703ed44ffb (\"netfilter: nf_tables: support for adding new devices to an existing netdev chain\")\nSigned-off-by: Pablo Neira Ayuso <pablo@netfilter.org>\n---\n net/netfilter/nf_tables_api.c | 8 ++++----\n 1 file changed, 4 insertions(+), 4 deletions(-)", "diff": "diff --git a/net/netfilter/nf_tables_api.c b/net/netfilter/nf_tables_api.c\nindex 07e151245765..ae10116af923 100644\n--- a/net/netfilter/nf_tables_api.c\n+++ b/net/netfilter/nf_tables_api.c\n@@ -10838,8 +10838,8 @@ static int nf_tables_commit(struct net *net, struct sk_buff *skb)\n \t\t\t\tnft_chain_commit_update(nft_trans_container_chain(trans));\n \t\t\t\tnf_tables_chain_notify(&ctx, NFT_MSG_NEWCHAIN,\n \t\t\t\t\t\t &nft_trans_chain_hooks(trans));\n-\t\t\t\tlist_splice(&nft_trans_chain_hooks(trans),\n-\t\t\t\t\t &nft_trans_basechain(trans)->hook_list);\n+\t\t\t\tlist_splice_rcu(&nft_trans_chain_hooks(trans),\n+\t\t\t\t\t\t&nft_trans_basechain(trans)->hook_list);\n \t\t\t\t/* trans destroyed after rcu grace period */\n \t\t\t} else {\n \t\t\t\tnft_chain_commit_drop_policy(nft_trans_container_chain(trans));\n@@ -10968,8 +10968,8 @@ static int nf_tables_commit(struct net *net, struct sk_buff *skb)\n \t\t\t\t\t\t\t nft_trans_flowtable(trans),\n \t\t\t\t\t\t\t &nft_trans_flowtable_hooks(trans),\n \t\t\t\t\t\t\t NFT_MSG_NEWFLOWTABLE);\n-\t\t\t\tlist_splice(&nft_trans_flowtable_hooks(trans),\n-\t\t\t\t\t &nft_trans_flowtable(trans)->hook_list);\n+\t\t\t\tlist_splice_rcu(&nft_trans_flowtable_hooks(trans),\n+\t\t\t\t\t\t&nft_trans_flowtable(trans)->hook_list);\n \t\t\t} else {\n \t\t\t\tnft_clear(net, nft_trans_flowtable(trans));\n \t\t\t\tnf_tables_flowtable_notify(&ctx,\n", "prefixes": [ "net", "04/11" ] }