get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/2196522/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 2196522,
    "url": "http://patchwork.ozlabs.org/api/patches/2196522/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/netfilter-devel/patch/20260214150851.31936-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": "<20260214150851.31936-2-phil@nwl.cc>",
    "list_archive_url": null,
    "date": "2026-02-14T15:08:51",
    "name": "[iptables,2/2] nft: Use the current name for the desired NFTNL_EXPR_BITWISE_OP",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "091d81289c25f60c16d074e65b9676bba7828470",
    "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/20260214150851.31936-2-phil@nwl.cc/mbox/",
    "series": [
        {
            "id": 492178,
            "url": "http://patchwork.ozlabs.org/api/series/492178/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/netfilter-devel/list/?series=492178",
            "date": "2026-02-14T15:08:51",
            "name": "[iptables,1/2] include: linux: nf_tables.h: Sync with current kernel UAPI headers",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/492178/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2196522/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2196522/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "\n <netfilter-devel+bounces-10772-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=n7Su7PX4;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=2600:3c09:e001:a7::12fc:5321; helo=sto.lore.kernel.org;\n envelope-from=netfilter-devel+bounces-10772-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=\"n7Su7PX4\"",
            "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 sto.lore.kernel.org (sto.lore.kernel.org\n [IPv6:2600:3c09:e001:a7::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 4fCsrM5pFvz1xr1\n\tfor <incoming@patchwork.ozlabs.org>; Sun, 15 Feb 2026 02:09:07 +1100 (AEDT)",
            "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sto.lore.kernel.org (Postfix) with ESMTP id D28963006476\n\tfor <incoming@patchwork.ozlabs.org>; Sat, 14 Feb 2026 15:09:04 +0000 (UTC)",
            "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 80159292918;\n\tSat, 14 Feb 2026 15:09:01 +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 A8E0D27EC80\n\tfor <netfilter-devel@vger.kernel.org>; Sat, 14 Feb 2026 15:08:59 +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 1vrHGT-000000000cs-3qC2;\n\tSat, 14 Feb 2026 16:08:57 +0100"
        ],
        "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1771081741; cv=none;\n b=URCpf1iZNttDoVxrggCnxGcxT4Pd3MN10Y221kZ7uZBhfgBvMCDXiyr5F4Vcjvb7wDyDFHSozGjFr1OOBTNVXVhB0Q43ld2niXVnntM6AEpUxRiss3JNCb1PQJIpqZddhykq3teZQi6/GsEQ6IJqEUVouh7ek0SAosfPhziiZUE=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1771081741; c=relaxed/simple;\n\tbh=CALbPl2hUAGkU4px/JCvqLQKbZG0rk5AKXMyM1h6ffk=;\n\th=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:\n\t MIME-Version;\n b=YCHLgDYIEYjvkKUE9eNlKSIezubmDdvfW9HBt0KKFllz+IyXVVijXj4nWJAcWf034LdxJoOjz7I8cm9ynbx7QJsKYxKXu4ZUm5r8yPY1JVCuWACVDCzoh4R/G7rZCVCXAMlarQl7Aemh868z86MEz0wmOltEGS2mKKObgtzCcMY=",
        "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=n7Su7PX4;\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=Faxg9YXC04GUJcsawnlby1MTaUdOvP29H4zL9KbmdDI=; b=n7Su7PX45Pzs3gRMUaPFHoJ2MH\n\toCL04MhCrWFNq1DSt6IvJixG14bTskgJ8fPQo/g0Tw34wzcA+IpRgx3YMK74VxTE3bysaqSoWxhFr\n\t3I5bvvTfCCF99M84SmRqrc2hSmVX031fO6YPz35aWkNtn5svIW4M3sN4niWrQOmRh7/MgfmKcOpGA\n\t7dqlehnLXy01U/IFXH1sbbWzYpHyo0tZa+ko8/otAk6l6O0t48Ceog3KPzj0Plcd/Zshv69sMH1pQ\n\tUVXeJ2j0RRju2SStVxhCQYxFv48U2c3jlKVLAgY+PZru2XMDBh7lGNavWKfV3Z72Ww5N0g57KWRLO\n\t7Nq2Ybog==;",
        "From": "Phil Sutter <phil@nwl.cc>",
        "To": "netfilter-devel@vger.kernel.org",
        "Cc": "Florian Westphal <fw@strlen.de>,\n\t\"Remy D . Farley\" <one-d-wide@protonmail.com>",
        "Subject": "[iptables PATCH 2/2] nft: Use the current name for the desired\n NFTNL_EXPR_BITWISE_OP",
        "Date": "Sat, 14 Feb 2026 16:08:51 +0100",
        "Message-ID": "<20260214150851.31936-2-phil@nwl.cc>",
        "X-Mailer": "git-send-email 2.51.0",
        "In-Reply-To": "<20260214150851.31936-1-phil@nwl.cc>",
        "References": "<20260214150851.31936-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": "Since refreshing nf_tables.h, the new name is available.\n\nSigned-off-by: Phil Sutter <phil@nwl.cc>\n---\n iptables/nft.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/iptables/nft.c b/iptables/nft.c\nindex da008070e3016..5c9cc6b389cff 100644\n--- a/iptables/nft.c\n+++ b/iptables/nft.c\n@@ -4035,7 +4035,7 @@ static int nft_is_expr_compatible(struct nftnl_expr *expr, void *data)\n \t\treturn 0;\n \n \tif (!strcmp(name, \"bitwise\") &&\n-\t    nftnl_expr_get_u32(expr, NFTNL_EXPR_BITWISE_OP) == NFT_BITWISE_BOOL)\n+\t    nftnl_expr_get_u32(expr, NFTNL_EXPR_BITWISE_OP) == NFT_BITWISE_MASK_XOR)\n \t\treturn 0;\n \n \treturn -1;\n",
    "prefixes": [
        "iptables",
        "2/2"
    ]
}