get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2221786,
    "url": "http://patchwork.ozlabs.org/api/1.2/patches/2221786/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/netfilter-devel/patch/20260410112352.23599-11-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": "<20260410112352.23599-11-fw@strlen.de>",
    "list_archive_url": null,
    "date": "2026-04-10T11:23:51",
    "name": "[net-next,10/11] netfilter: nft_fwd_netdev: check ttl/hl before forwarding",
    "commit_ref": null,
    "pull_url": null,
    "state": "handled-elsewhere",
    "archived": true,
    "hash": "8bb48d9b033b6b6ecac6fedba2452b272457e902",
    "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/20260410112352.23599-11-fw@strlen.de/mbox/",
    "series": [
        {
            "id": 499444,
            "url": "http://patchwork.ozlabs.org/api/1.2/series/499444/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/netfilter-devel/list/?series=499444",
            "date": "2026-04-10T11:23:46",
            "name": "[net-next,01/11] ipvs: show the current conn_tab size to users",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/499444/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2221786/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2221786/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "\n <netfilter-devel+bounces-11806-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.234.253.10; helo=sea.lore.kernel.org;\n envelope-from=netfilter-devel+bounces-11806-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 sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])\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 4fsZSN5C3Vz1yGS\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 10 Apr 2026 21:33:40 +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 7804330A9C60\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 10 Apr 2026 11:24:45 +0000 (UTC)",
            "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 558593A0E84;\n\tFri, 10 Apr 2026 11:24:43 +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 1DFC31448E0;\n\tFri, 10 Apr 2026 11:24:40 +0000 (UTC)",
            "by Chamillionaire.breakpoint.cc (Postfix, from userid 1003)\n\tid 836FE60C68; Fri, 10 Apr 2026 13:24:39 +0200 (CEST)"
        ],
        "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1775820283; cv=none;\n b=gXDrgk13h7OxBE2/sXmwWPhZlpm+upLiJ8Gder9xxx2J1CKxE5yaiKG0EPUTE7lCQlltBicmrafqdrWnc7/2Zj8ZNkKVAuDPuWD/d7LynXRZ2UNp81bJ+i38T6Lqf31KS54CxDXMe94sibt1shGugmY2N9DaQe6Y0mzwMrUizjc=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1775820283; c=relaxed/simple;\n\tbh=74pLfbiC3+10J2yOI2W9lhehhyjzUrjwVtrtoFchtWQ=;\n\th=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:\n\t MIME-Version;\n b=h7cez1trrtUmPIHcjyRxbOAicWZfWgytyO5cS43kHDh/RgWCMoC9keMmihl52WRlygbNfT1ZnvJIgGQoTZ82VN70AfQxI8tCYp6YzpNINKWto3EtmxfQgR2mBJgnmqjG6fVHnjoSPPTI6YFltlbVYdGEzcNpX097D/vpW8Mgo1k=",
        "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": "<netdev@vger.kernel.org>",
        "Cc": "Paolo Abeni <pabeni@redhat.com>,\n\t\"David S. Miller\" <davem@davemloft.net>,\n\tEric Dumazet <edumazet@google.com>,\n\tJakub Kicinski <kuba@kernel.org>,\n\t<netfilter-devel@vger.kernel.org>,\n\tpablo@netfilter.org",
        "Subject": "[PATCH net-next 10/11] netfilter: nft_fwd_netdev: check ttl/hl before\n forwarding",
        "Date": "Fri, 10 Apr 2026 13:23:51 +0200",
        "Message-ID": "<20260410112352.23599-11-fw@strlen.de>",
        "X-Mailer": "git-send-email 2.52.0",
        "In-Reply-To": "<20260410112352.23599-1-fw@strlen.de>",
        "References": "<20260410112352.23599-1-fw@strlen.de>",
        "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": "Drop packets if their ttl/hl is too small for forwarding.\n\nFixes: d32de98ea70f (\"netfilter: nft_fwd_netdev: allow to forward packets via neighbour layer\")\nSigned-off-by: Florian Westphal <fw@strlen.de>\n---\n net/netfilter/nft_fwd_netdev.c | 10 ++++++++++\n 1 file changed, 10 insertions(+)",
    "diff": "diff --git a/net/netfilter/nft_fwd_netdev.c b/net/netfilter/nft_fwd_netdev.c\nindex ad48dcd45abe..4bce36c3a6a0 100644\n--- a/net/netfilter/nft_fwd_netdev.c\n+++ b/net/netfilter/nft_fwd_netdev.c\n@@ -116,6 +116,11 @@ static void nft_fwd_neigh_eval(const struct nft_expr *expr,\n \t\t\tgoto out;\n \t\t}\n \t\tiph = ip_hdr(skb);\n+\t\tif (iph->ttl <= 1) {\n+\t\t\tverdict = NF_DROP;\n+\t\t\tgoto out;\n+\t\t}\n+\n \t\tip_decrease_ttl(iph);\n \t\tneigh_table = NEIGH_ARP_TABLE;\n \t\tbreak;\n@@ -132,6 +137,11 @@ static void nft_fwd_neigh_eval(const struct nft_expr *expr,\n \t\t\tgoto out;\n \t\t}\n \t\tip6h = ipv6_hdr(skb);\n+\t\tif (ip6h->hop_limit <= 1) {\n+\t\t\tverdict = NF_DROP;\n+\t\t\tgoto out;\n+\t\t}\n+\n \t\tip6h->hop_limit--;\n \t\tneigh_table = NEIGH_ND_TABLE;\n \t\tbreak;\n",
    "prefixes": [
        "net-next",
        "10/11"
    ]
}