get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2196344,
    "url": "http://patchwork.ozlabs.org/api/patches/2196344/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/ovn/patch/20260213135040.8221-1-arukomoinikova@k2.cloud/",
    "project": {
        "id": 68,
        "url": "http://patchwork.ozlabs.org/api/projects/68/?format=api",
        "name": "Open Virtual Network development",
        "link_name": "ovn",
        "list_id": "ovs-dev.openvswitch.org",
        "list_email": "ovs-dev@openvswitch.org",
        "web_url": "http://openvswitch.org/",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20260213135040.8221-1-arukomoinikova@k2.cloud>",
    "list_archive_url": null,
    "date": "2026-02-13T13:50:36",
    "name": "[ovs-dev] northd: Add missing ds_clear.",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "ff22fd7499a2d259c4c8108d06d7946a38fe7be4",
    "submitter": {
        "id": 89461,
        "url": "http://patchwork.ozlabs.org/api/people/89461/?format=api",
        "name": "Rukomoinikova Aleksandra",
        "email": "ARukomoinikova@k2.cloud"
    },
    "delegate": {
        "id": 94943,
        "url": "http://patchwork.ozlabs.org/api/users/94943/?format=api",
        "username": "dceara",
        "first_name": "Dumitru",
        "last_name": "Ceara",
        "email": "dceara@redhat.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/ovn/patch/20260213135040.8221-1-arukomoinikova@k2.cloud/mbox/",
    "series": [
        {
            "id": 492100,
            "url": "http://patchwork.ozlabs.org/api/series/492100/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/ovn/list/?series=492100",
            "date": "2026-02-13T13:50:36",
            "name": "[ovs-dev] northd: Add missing ds_clear.",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/492100/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2196344/comments/",
    "check": "fail",
    "checks": "http://patchwork.ozlabs.org/api/patches/2196344/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<ovs-dev-bounces@openvswitch.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "dev@openvswitch.org"
        ],
        "Delivered-To": [
            "patchwork-incoming@legolas.ozlabs.org",
            "ovs-dev@lists.linuxfoundation.org"
        ],
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n unprotected) header.d=k2.cloud header.i=@k2.cloud header.a=rsa-sha256\n header.s=cloudmail header.b=ZVxM76jc;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=openvswitch.org\n (client-ip=140.211.166.137; helo=smtp4.osuosl.org;\n envelope-from=ovs-dev-bounces@openvswitch.org; receiver=patchwork.ozlabs.org)",
            "smtp4.osuosl.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key,\n unprotected) header.d=k2.cloud header.i=@k2.cloud header.a=rsa-sha256\n header.s=cloudmail header.b=ZVxM76jc",
            "smtp3.osuosl.org;\n dmarc=pass (p=none dis=none) header.from=k2.cloud",
            "smtp3.osuosl.org; dkim=pass (1024-bit key,\n unprotected) header.d=k2.cloud header.i=@k2.cloud header.a=rsa-sha256\n header.s=cloudmail header.b=ZVxM76jc"
        ],
        "Received": [
            "from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137])\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 4fCD8g6QW7z1xr1\n\tfor <incoming@patchwork.ozlabs.org>; Sat, 14 Feb 2026 00:50:59 +1100 (AEDT)",
            "from localhost (localhost [127.0.0.1])\n\tby smtp4.osuosl.org (Postfix) with ESMTP id 1A0F341B54;\n\tFri, 13 Feb 2026 13:50:57 +0000 (UTC)",
            "from smtp4.osuosl.org ([127.0.0.1])\n by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id Q7FY5XjevyrR; Fri, 13 Feb 2026 13:50:56 +0000 (UTC)",
            "from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56])\n\tby smtp4.osuosl.org (Postfix) with ESMTPS id EE5C341A4A;\n\tFri, 13 Feb 2026 13:50:55 +0000 (UTC)",
            "from lf-lists.osuosl.org (localhost [127.0.0.1])\n\tby lists.linuxfoundation.org (Postfix) with ESMTP id ADB6AC0035;\n\tFri, 13 Feb 2026 13:50:55 +0000 (UTC)",
            "from smtp3.osuosl.org (smtp3.osuosl.org [IPv6:2605:bc80:3010::136])\n by lists.linuxfoundation.org (Postfix) with ESMTP id 188E4C0033\n for <dev@openvswitch.org>; Fri, 13 Feb 2026 13:50:54 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n by smtp3.osuosl.org (Postfix) with ESMTP id F0D5F6074D\n for <dev@openvswitch.org>; Fri, 13 Feb 2026 13:50:53 +0000 (UTC)",
            "from smtp3.osuosl.org ([127.0.0.1])\n by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id cO9FFgeRCgSu for <dev@openvswitch.org>;\n Fri, 13 Feb 2026 13:50:53 +0000 (UTC)",
            "from mail2.k2.cloud (mail2.k2.cloud [109.73.14.253])\n by smtp3.osuosl.org (Postfix) with ESMTPS id 560E460612\n for <dev@openvswitch.org>; Fri, 13 Feb 2026 13:50:51 +0000 (UTC)"
        ],
        "X-Virus-Scanned": [
            "amavis at osuosl.org",
            "amavis at osuosl.org"
        ],
        "X-Comment": "SPF check N/A for local connections - client-ip=140.211.9.56;\n helo=lists.linuxfoundation.org;\n envelope-from=ovs-dev-bounces@openvswitch.org; receiver=<UNKNOWN> ",
        "DKIM-Filter": [
            "OpenDKIM Filter v2.11.0 smtp4.osuosl.org EE5C341A4A",
            "OpenDKIM Filter v2.11.0 smtp3.osuosl.org 560E460612"
        ],
        "Received-SPF": "Pass (mailfrom) identity=mailfrom; client-ip=109.73.14.253;\n helo=mail2.k2.cloud; envelope-from=arukomoinikova@k2.cloud;\n receiver=<UNKNOWN>",
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 smtp3.osuosl.org 560E460612",
        "From": "Alexandra Rukomoinikova <arukomoinikova@k2.cloud>",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=k2.cloud;\n s=cloudmail; t=1770990648;\n bh=iuKmhv08sPQQvYV8Og12MMUZ2CeEDWRKxGqgaTdTolA=;\n h=From:To:Cc:Subject:Date;\n b=ZVxM76jctKZ+odioCPTyx5Wns+qOembipo+jarEsA6QVUhOR9knrOYAJ1C080lFvF\n oJlf/8mC5mHZ99iX8s0KpDs664e7W2YHI5c7PNYz8ggHpB9pwwzNkdmth8woluvOtO\n cXzYRm58ceD/02EXOa+l2pj2b2rfIpXhhxEDpWM4=",
        "To": "dev@openvswitch.org",
        "Cc": "Alexandra Rukomoinikova <arukomoinikova@k2.cloud>",
        "Date": "Fri, 13 Feb 2026 16:50:36 +0300",
        "Message-Id": "<20260213135040.8221-1-arukomoinikova@k2.cloud>",
        "MIME-Version": "1.0",
        "Subject": "[ovs-dev] [PATCH ovn] northd: Add missing ds_clear.",
        "X-BeenThere": "ovs-dev@openvswitch.org",
        "X-Mailman-Version": "2.1.30",
        "Precedence": "list",
        "List-Id": "<ovs-dev.openvswitch.org>",
        "List-Unsubscribe": "<https://mail.openvswitch.org/mailman/options/ovs-dev>,\n <mailto:ovs-dev-request@openvswitch.org?subject=unsubscribe>",
        "List-Archive": "<http://mail.openvswitch.org/pipermail/ovs-dev/>",
        "List-Post": "<mailto:ovs-dev@openvswitch.org>",
        "List-Help": "<mailto:ovs-dev-request@openvswitch.org?subject=help>",
        "List-Subscribe": "<https://mail.openvswitch.org/mailman/listinfo/ovs-dev>,\n <mailto:ovs-dev-request@openvswitch.org?subject=subscribe>",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "ovs-dev-bounces@openvswitch.org",
        "Sender": "\"dev\" <ovs-dev-bounces@openvswitch.org>"
    },
    "content": "Fixes: 7b0eb4d9ed05 (\"northd: Add distributed load balancer support.\")\nSigned-off-by: Alexandra Rukomoinikova <arukomoinikova@k2.cloud>\n---\n northd/northd.c | 1 +\n 1 file changed, 1 insertion(+)",
    "diff": "diff --git a/northd/northd.c b/northd/northd.c\nindex 4ecdd9c2d..0749aa049 100644\n--- a/northd/northd.c\n+++ b/northd/northd.c\n@@ -12899,6 +12899,7 @@ build_distr_lrouter_nat_flows_for_lb(struct lrouter_nat_lb_flows_ctx *ctx,\n      * the undnat stage.\n      */\n     ds_put_format(ctx->undnat_match, \") && outport == %s\", dgp->json_key);\n+    ds_clear(ctx->gw_redir_action);\n     ds_put_format(ctx->gw_redir_action,\n                   \"outport = %s; next;\", gw_outport);\n \n",
    "prefixes": [
        "ovs-dev"
    ]
}