Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2219289/?format=api
{ "id": 2219289, "url": "http://patchwork.ozlabs.org/api/patches/2219289/?format=api", "web_url": "http://patchwork.ozlabs.org/project/netfilter-devel/patch/20260402184320.14862-2-phil@nwl.cc/", "project": { "id": 26, "url": "http://patchwork.ozlabs.org/api/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, "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20260402184320.14862-2-phil@nwl.cc>", "list_archive_url": null, "date": "2026-04-02T18:43:19", "name": "[nft,1/2] parser_json: Accept non-RHS expressions in binop RHS", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "05b3da0b8392198e3a9e6ae974fa4bb35c6d3492", "submitter": { "id": 4285, "url": "http://patchwork.ozlabs.org/api/people/4285/?format=api", "name": "Phil Sutter", "email": "phil@nwl.cc" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/netfilter-devel/patch/20260402184320.14862-2-phil@nwl.cc/mbox/", "series": [ { "id": 498540, "url": "http://patchwork.ozlabs.org/api/series/498540/?format=api", "web_url": "http://patchwork.ozlabs.org/project/netfilter-devel/list/?series=498540", "date": "2026-04-02T18:43:20", "name": "A bit of non-constant binop follow-up", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/498540/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2219289/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2219289/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "\n <netfilter-devel+bounces-11594-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=fail reason=\"signature verification failed\" (2048-bit key;\n unprotected) header.d=nwl.cc header.i=@nwl.cc header.a=rsa-sha256\n header.s=mail2022 header.b=bESikb8d;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=172.105.105.114; helo=tor.lore.kernel.org;\n envelope-from=netfilter-devel+bounces-11594-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)", "smtp.subspace.kernel.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key)\n header.d=nwl.cc header.i=@nwl.cc header.b=\"bESikb8d\"", "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=151.80.46.58", "smtp.subspace.kernel.org;\n dmarc=none (p=none dis=none) header.from=nwl.cc", "smtp.subspace.kernel.org;\n spf=pass smtp.mailfrom=nwl.cc", "mail.nwl.cc;\n\tiprev=pass (localhost) smtp.remote-ip=::1" ], "Received": [ "from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])\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 4fmrNb394Gz1yGH\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 03 Apr 2026 05:43:59 +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 3F7F7304F2C5\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 2 Apr 2026 18:43:42 +0000 (UTC)", "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id CEE2F3F210D;\n\tThu, 2 Apr 2026 18:43:34 +0000 (UTC)", "from orbyte.nwl.cc (orbyte.nwl.cc [151.80.46.58])\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 6CA7E3DC4A5\n\tfor <netfilter-devel@vger.kernel.org>; Thu, 2 Apr 2026 18:43:28 +0000 (UTC)", "from localhost ([::1] helo=xic)\n\tby orbyte.nwl.cc with esmtp (Exim 4.98.2)\n\t(envelope-from <phil@nwl.cc>)\n\tid 1w8N0o-000000005oq-3KU1;\n\tThu, 02 Apr 2026 20:43:26 +0200" ], "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1775155413; cv=none;\n b=Wu4FXeC7OAOLE44n4i5xWvpyEhjqykA0ncgNaiiPn9ZfKccjy2c/982BU89dnJRf7jEruP6cyfrjKVvjtHvdXiwQWoUlAJZcCEaWg5ULdTOW3FLzO25UnFtMYgtK6jJshaeGkZlFYoVlINK5jdYazK10UJqi9NspOGs8ve7/pwM=", "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1775155413; c=relaxed/simple;\n\tbh=jV427SFTgdy2a8X9flKsGlqLGWdM63DwQLCW8VTQNRY=;\n\th=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:\n\t MIME-Version;\n b=KTNaEPiAWHyz45pMZLLFEORQIIMS0aZT6TY7DQdBiWh04NXizVmqLfuEgkXGC+BI7DXVolkMXWZimJO4Z1FI00jLfxX9gC8ldkZRxgwagEqk1szOHsmJxroznVfp7fK6WLz8twsgw0EfeLWQEonR8/tqhJyXtlhDtlvvBQrkKf8=", "ARC-Authentication-Results": "i=1; smtp.subspace.kernel.org;\n dmarc=none (p=none dis=none) header.from=nwl.cc;\n spf=pass smtp.mailfrom=nwl.cc;\n dkim=pass (2048-bit key) header.d=nwl.cc header.i=@nwl.cc header.b=bESikb8d;\n arc=none smtp.client-ip=151.80.46.58", "DKIM-Signature": "v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=nwl.cc;\n\ts=mail2022; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:\n\tMessage-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID:\n\tContent-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc\n\t:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe:\n\tList-Post:List-Owner:List-Archive;\n\tbh=syHq/m+XbaR4QnEyC9Y7UHAZwnrN6yXSfKzwrwADq4w=; b=bESikb8d5ao1RA1B4v/3HUjAHR\n\toyes3IxKAklWOPhhzk/OBKEDGR947wbVh0Ov0DrJLOOJ0+84Vp67zUnIisN55WoY1z6q2dy+7/ooE\n\tpwzZ2thFPhrCl+6uL7FOBGBRCRXtO7+JRP1igAPMU+2/OuI1eT1UGib3b0ecEusx7PZaxxVNosQs9\n\tEYOkL5JmvoWi5hE0wPy6EpgAl8cvnrVc0bl88dqlGYTZJyLFI2mJUgTzKPNoih/AGdsWW47OKAih9\n\tQGm+fMuw6w0/8HP4XxZv3O7Cxr3X5Lx8nWas9etQ8s4MSm3siYkQGJPTdMtKocGNbt6biH56f/4lp\n\tE5BxpJrQ==;", "From": "Phil Sutter <phil@nwl.cc>", "To": "Pablo Neira Ayuso <pablo@netfilter.org>", "Cc": "netfilter-devel@vger.kernel.org,\n\tDion Bosschieter <dionbosschieter@gmail.com>", "Subject": "[nft PATCH 1/2] parser_json: Accept non-RHS expressions in binop RHS", "Date": "Thu, 2 Apr 2026 20:43:19 +0200", "Message-ID": "<20260402184320.14862-2-phil@nwl.cc>", "X-Mailer": "git-send-email 2.51.0", "In-Reply-To": "<20260402184320.14862-1-phil@nwl.cc>", "References": "<20260402184320.14862-1-phil@nwl.cc>", "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": "No need to restrict this anymore, binop expressions may contain\nnon-constant expressions in all places nowadays.\n\nFixes: 54bfc38c522ba (\"src: allow binop expressions with variable right-hand operands\")\nSigned-off-by: Phil Sutter <phil@nwl.cc>\n---\n src/parser_json.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/src/parser_json.c b/src/parser_json.c\nindex 2f70b9877c6ed..b8b623ce05722 100644\n--- a/src/parser_json.c\n+++ b/src/parser_json.c\n@@ -1296,7 +1296,7 @@ static struct expr *json_parse_binop_expr(struct json_ctx *ctx,\n \t\tjson_error(ctx, \"Failed to parse LHS of binop expression.\");\n \t\treturn NULL;\n \t}\n-\tright = json_parse_rhs_expr(ctx, jright);\n+\tright = json_parse_primary_expr(ctx, jright);\n \tif (!right) {\n \t\tjson_error(ctx, \"Failed to parse RHS of binop expression.\");\n \t\texpr_free(left);\n", "prefixes": [ "nft", "1/2" ] }