get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2196541,
    "url": "http://patchwork.ozlabs.org/api/patches/2196541/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/ubuntu-kernel/patch/20260214155458.2475954-2-t.lamprecht@proxmox.com/",
    "project": {
        "id": 15,
        "url": "http://patchwork.ozlabs.org/api/projects/15/?format=api",
        "name": "Ubuntu Kernel",
        "link_name": "ubuntu-kernel",
        "list_id": "kernel-team.lists.ubuntu.com",
        "list_email": "kernel-team@lists.ubuntu.com",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20260214155458.2475954-2-t.lamprecht@proxmox.com>",
    "list_archive_url": null,
    "date": "2026-02-14T15:54:57",
    "name": "[1/2] smb client: fix unknown-variable compilation error due to bad backport",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "865c6ccbc1654d8c144d70f66dca8d9b65ee0afd",
    "submitter": {
        "id": 67098,
        "url": "http://patchwork.ozlabs.org/api/people/67098/?format=api",
        "name": "Thomas Lamprecht",
        "email": "t.lamprecht@proxmox.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/ubuntu-kernel/patch/20260214155458.2475954-2-t.lamprecht@proxmox.com/mbox/",
    "series": [
        {
            "id": 492184,
            "url": "http://patchwork.ozlabs.org/api/series/492184/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/ubuntu-kernel/list/?series=492184",
            "date": "2026-02-14T15:54:57",
            "name": "adapt smb client backports to avoid compilation errors",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/492184/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2196541/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2196541/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<kernel-team-bounces@lists.ubuntu.com>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@legolas.ozlabs.org",
        "Authentication-Results": "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com\n (client-ip=185.125.189.65; helo=lists.ubuntu.com;\n envelope-from=kernel-team-bounces@lists.ubuntu.com;\n receiver=patchwork.ozlabs.org)",
        "Received": [
            "from lists.ubuntu.com (lists.ubuntu.com [185.125.189.65])\n\t(using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fCv3k0GkYz23hV\n\tfor <incoming@patchwork.ozlabs.org>; Sun, 15 Feb 2026 03:04:01 +1100 (AEDT)",
            "from localhost ([127.0.0.1] helo=lists.ubuntu.com)\n\tby lists.ubuntu.com with esmtp (Exim 4.86_2)\n\t(envelope-from <kernel-team-bounces@lists.ubuntu.com>)\n\tid 1vrI7Z-0003Ne-81; Sat, 14 Feb 2026 16:03:49 +0000",
            "from proxmox-new.maurer-it.com ([94.136.29.106])\n by lists.ubuntu.com with esmtp (Exim 4.86_2)\n (envelope-from <t.lamprecht@proxmox.com>) id 1vrI7X-0003N9-Jb\n for kernel-team@lists.ubuntu.com; Sat, 14 Feb 2026 16:03:47 +0000",
            "from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1])\n by proxmox-new.maurer-it.com (Proxmox) with ESMTP id 7CF3C468D2\n for <kernel-team@lists.ubuntu.com>; Sat, 14 Feb 2026 16:55:05 +0100 (CET)"
        ],
        "From": "Thomas Lamprecht <t.lamprecht@proxmox.com>",
        "To": "kernel-team@lists.ubuntu.com",
        "Subject": "[PATCH 1/2] smb client: fix unknown-variable compilation error due to\n bad backport",
        "Date": "Sat, 14 Feb 2026 16:54:57 +0100",
        "Message-Id": "<20260214155458.2475954-2-t.lamprecht@proxmox.com>",
        "X-Mailer": "git-send-email 2.39.5",
        "In-Reply-To": "<20260214155458.2475954-1-t.lamprecht@proxmox.com>",
        "References": "<20260214155458.2475954-1-t.lamprecht@proxmox.com>",
        "MIME-Version": "1.0",
        "X-Bm-Milter-Handled": "55990f41-d878-4baa-be0a-ee34c49e34d2",
        "X-Bm-Transport-Timestamp": "1771084499924",
        "Received-SPF": "pass client-ip=94.136.29.106;\n envelope-from=t.lamprecht@proxmox.com; helo=proxmox-new.maurer-it.com",
        "X-BeenThere": "kernel-team@lists.ubuntu.com",
        "X-Mailman-Version": "2.1.20",
        "Precedence": "list",
        "List-Id": "Kernel team discussions <kernel-team.lists.ubuntu.com>",
        "List-Unsubscribe": "<https://lists.ubuntu.com/mailman/options/kernel-team>,\n <mailto:kernel-team-request@lists.ubuntu.com?subject=unsubscribe>",
        "List-Archive": "<https://lists.ubuntu.com/archives/kernel-team>",
        "List-Post": "<mailto:kernel-team@lists.ubuntu.com>",
        "List-Help": "<mailto:kernel-team-request@lists.ubuntu.com?subject=help>",
        "List-Subscribe": "<https://lists.ubuntu.com/mailman/listinfo/kernel-team>,\n <mailto:kernel-team-request@lists.ubuntu.com?subject=subscribe>",
        "Content-Type": "text/plain; charset=\"utf-8\"",
        "Content-Transfer-Encoding": "base64",
        "Errors-To": "kernel-team-bounces@lists.ubuntu.com",
        "Sender": "\"kernel-team\" <kernel-team-bounces@lists.ubuntu.com>"
    },
    "content": "The upstream commit 1944f6ab4967 (\"smb: client: let\nsmbd_post_send_iter() respect the peers max_send_size and transmit all\ndata\") was recently backported but not adapted to work for 6.8 based\nkernel. The Cc trailer to stable clearly mentions \"sp->max_send_size\nshould be info->max_send_size in backports\", but that was not followed\nhere and thus fails compilation.\n\nFixes: d9eaf72656d3 (\"smb: client: let smbd_post_send_iter() respect the peers max_send_size and transmit all data\")\nSigned-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>\n---\n fs/smb/client/smbdirect.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/fs/smb/client/smbdirect.c b/fs/smb/client/smbdirect.c\nindex bff06a7a924c..6b5c133c1faa 100644\n--- a/fs/smb/client/smbdirect.c\n+++ b/fs/smb/client/smbdirect.c\n@@ -891,7 +891,7 @@ static int smbd_post_send_iter(struct smbd_connection *info,\n \t\t\t.direction\t= DMA_TO_DEVICE,\n \t\t};\n \t\tsize_t payload_len = umin(*_remaining_data_length,\n-\t\t\t\t\t  sp->max_send_size - sizeof(*packet));\n+\t\t\t\t\t  info->max_send_size - sizeof(*packet));\n \n \t\trc = smb_extract_iter_to_rdma(iter, payload_len,\n \t\t\t\t\t      &extract);\n",
    "prefixes": [
        "1/2"
    ]
}