get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2221396,
    "url": "http://patchwork.ozlabs.org/api/1.2/patches/2221396/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/netfilter-devel/patch/20260409115756.27931-1-fw@strlen.de/",
    "project": {
        "id": 26,
        "url": "http://patchwork.ozlabs.org/api/1.2/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": "<20260409115756.27931-1-fw@strlen.de>",
    "list_archive_url": null,
    "date": "2026-04-09T11:57:53",
    "name": "[nft] doc: ct count should be restricted via new",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "a3fa061cf0b9dd9c9c69deb613f8ce85559bfb5c",
    "submitter": {
        "id": 1025,
        "url": "http://patchwork.ozlabs.org/api/1.2/people/1025/?format=api",
        "name": "Florian Westphal",
        "email": "fw@strlen.de"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/netfilter-devel/patch/20260409115756.27931-1-fw@strlen.de/mbox/",
    "series": [
        {
            "id": 499283,
            "url": "http://patchwork.ozlabs.org/api/1.2/series/499283/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/netfilter-devel/list/?series=499283",
            "date": "2026-04-09T11:57:53",
            "name": "[nft] doc: ct count should be restricted via new",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/499283/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2221396/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2221396/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "\n <netfilter-devel+bounces-11762-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=172.105.105.114; helo=tor.lore.kernel.org;\n envelope-from=netfilter-devel+bounces-11762-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 [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 4frzDB5pKRz1xy1\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 09 Apr 2026 22:06:02 +1000 (AEST)",
            "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby tor.lore.kernel.org (Postfix) with ESMTP id E9D6430D5A44\n\tfor <incoming@patchwork.ozlabs.org>; Thu,  9 Apr 2026 11:58:46 +0000 (UTC)",
            "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 4805E3C3C08;\n\tThu,  9 Apr 2026 11:58:04 +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 96D073C276B\n\tfor <netfilter-devel@vger.kernel.org>; Thu,  9 Apr 2026 11:58:02 +0000 (UTC)",
            "by Chamillionaire.breakpoint.cc (Postfix, from userid 1003)\n\tid AABF460636; Thu, 09 Apr 2026 13:58:00 +0200 (CEST)"
        ],
        "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1775735884; cv=none;\n b=tQYX3bToCO2mEtKJz+j9HWK0N4rOJJACmNRdGA9ws0F0V6fH9nd17mcdhbXYfZ50ZRxZ65ri6aHEYiJeBJ4jCjuDNoUiNGOuAFfTwqJuCbwfo/upZ8Njy6r9pJ3xtrewPtftIyBHVfb+hVjSjou6Kd/uIxw6YWlRtAW+Jj3amDg=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1775735884; c=relaxed/simple;\n\tbh=y+Qwv3tYHwhGL+9ry1tIpTJrDbjuSjsrqaFxldAfxWY=;\n\th=From:To:Cc:Subject:Date:Message-ID:MIME-Version;\n b=vAfbDebKHYfWiL+dG5Ry/G/6ZWJ1M9AgmC0IOM/N11w1SDRN1WKU2K96mfOZ89ZAICp9Krghiu4+hOeWBnrKLapuVE6QkId7ZL+gvbkdWB1Ul57PzJoEqlcP1vL5/9HbqfcxKQoonjFo/Ux+JEMl+yMzdEPFEII2WwgKWCH90OQ=",
        "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 nft] doc: ct count should be restricted via new",
        "Date": "Thu,  9 Apr 2026 13:57:53 +0200",
        "Message-ID": "<20260409115756.27931-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": "Not doing it will affect existing flows, which is likely not wanted.\n\nSigned-off-by: Florian Westphal <fw@strlen.de>\n---\n doc/payload-expression.txt | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/doc/payload-expression.txt b/doc/payload-expression.txt\nindex 8b538968c84b..817b7a3c76b1 100644\n--- a/doc/payload-expression.txt\n+++ b/doc/payload-expression.txt\n@@ -934,5 +934,5 @@ ct_id|\n .restrict the number of parallel connections to a server\n --------------------\n nft add set filter ssh_flood '{ type ipv4_addr; flags dynamic; }'\n-nft add rule filter input tcp dport 22 add @ssh_flood '{ ip saddr ct count over 2 }' reject\n+nft add rule filter input ct state new tcp dport 22 add @ssh_flood '{ ip saddr ct count over 2 }' reject\n --------------------\n",
    "prefixes": [
        "nft"
    ]
}