get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2229678,
    "url": "http://patchwork.ozlabs.org/api/1.1/patches/2229678/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-cifs-client/patch/20260428154604.222551-3-henrique.carvalho@suse.com/",
    "project": {
        "id": 12,
        "url": "http://patchwork.ozlabs.org/api/1.1/projects/12/?format=api",
        "name": "Linux CIFS Client",
        "link_name": "linux-cifs-client",
        "list_id": "linux-cifs.vger.kernel.org",
        "list_email": "linux-cifs@vger.kernel.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": ""
    },
    "msgid": "<20260428154604.222551-3-henrique.carvalho@suse.com>",
    "date": "2026-04-28T15:45:58",
    "name": "[01/11] smb: common: add smb_tls struct shared by client and server",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "8a14f4999a494e7109c8c52c4072cdc6e695c313",
    "submitter": {
        "id": 89563,
        "url": "http://patchwork.ozlabs.org/api/1.1/people/89563/?format=api",
        "name": "Henrique Carvalho",
        "email": "henrique.carvalho@suse.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linux-cifs-client/patch/20260428154604.222551-3-henrique.carvalho@suse.com/mbox/",
    "series": [
        {
            "id": 501883,
            "url": "http://patchwork.ozlabs.org/api/1.1/series/501883/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-cifs-client/list/?series=501883",
            "date": "2026-04-28T15:45:58",
            "name": "[01/11] smb: common: add smb_tls struct shared by client and server",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/501883/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2229678/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2229678/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "\n <linux-cifs+bounces-11222-incoming=patchwork.ozlabs.org@vger.kernel.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "linux-cifs@vger.kernel.org"
        ],
        "Delivered-To": "patchwork-incoming@legolas.ozlabs.org",
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=suse.com header.i=@suse.com header.a=rsa-sha256\n header.s=google header.b=CmW6FEGc;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=2600:3c04:e001:36c::12fc:5321; helo=tor.lore.kernel.org;\n envelope-from=linux-cifs+bounces-11222-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)",
            "smtp.subspace.kernel.org;\n\tdkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com\n header.b=\"CmW6FEGc\"",
            "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=209.85.128.50",
            "smtp.subspace.kernel.org;\n dmarc=pass (p=quarantine dis=none) header.from=suse.com",
            "smtp.subspace.kernel.org;\n spf=pass smtp.mailfrom=suse.com"
        ],
        "Received": [
            "from tor.lore.kernel.org (tor.lore.kernel.org\n [IPv6:2600:3c04:e001:36c::12fc:5321])\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 4g4lDv39lMz1xvV\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 29 Apr 2026 01:47:27 +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 C5FA83055480\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 28 Apr 2026 15:46:47 +0000 (UTC)",
            "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 5FD5F3C13FC;\n\tTue, 28 Apr 2026 15:46:41 +0000 (UTC)",
            "from mail-wm1-f50.google.com (mail-wm1-f50.google.com\n [209.85.128.50])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))\n\t(No client certificate requested)\n\tby smtp.subspace.kernel.org (Postfix) with ESMTPS id C10653A9638\n\tfor <linux-cifs@vger.kernel.org>; Tue, 28 Apr 2026 15:46:39 +0000 (UTC)",
            "by mail-wm1-f50.google.com with SMTP id\n 5b1f17b1804b1-4891e86fabeso128745025e9.1\n        for <linux-cifs@vger.kernel.org>;\n Tue, 28 Apr 2026 08:46:39 -0700 (PDT)",
            "from precision ([2a01:4b00:c007:bb00:be9d:a3c4:18b1:4a25])\n        by smtp.gmail.com with ESMTPSA id\n ffacd0b85a97d-4463d4fa52bsm7725384f8f.15.2026.04.28.08.46.37\n        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n        Tue, 28 Apr 2026 08:46:37 -0700 (PDT)"
        ],
        "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1777391201; cv=none;\n b=iYyKIv8+jfNmZJFgBhsJ0MqbM0SU9MQk03PMnBjM8WARrQNXT/rd6lDbb+hDimsY2zuMoeV6E1+G60P0YsXpoxtb+YP7CRN7f/rdzvtEXZRqBe1COPg6pFzcYxztiYNtvWXxZq/8RLArgUUA41pZjOdAyfTymKIXUL51OuHIW8U=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1777391201; c=relaxed/simple;\n\tbh=o9AxzB6iTIxvV3zczxNnobMq6mUvwYWWzYA0xI/jRJc=;\n\th=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:\n\t MIME-Version;\n b=UJwqSOTPhCK7K6gvAbRnTvPicz5uiFG5tx9c6QKJLqggpb0q3Khfm89R/nVDuzxT7TC5bH9eJmPToIwb1HcaMWgeUbQuS6Cqn05kw9fBIDSGrei7/SFmOBZKDeWpPsLcy9UUqhLYrd/2q7tOOuGGnbKwZ2IVTWa7vstlFn2ZbeA=",
        "ARC-Authentication-Results": "i=1; smtp.subspace.kernel.org;\n dmarc=pass (p=quarantine dis=none) header.from=suse.com;\n spf=pass smtp.mailfrom=suse.com;\n dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com\n header.b=CmW6FEGc; arc=none smtp.client-ip=209.85.128.50",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=suse.com; s=google; t=1777391198; x=1777995998;\n darn=vger.kernel.org;\n        h=content-transfer-encoding:mime-version:references:in-reply-to\n         :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n         :message-id:reply-to;\n        bh=HaDqba+Z9YUDbJcQeyPUHQc2cEFoh6ewPsWR4yOwgNI=;\n        b=CmW6FEGcjQ+8F+5HoWZaPjMdO6fS/CG8FRBp7PihKXRLKLuXuQR0yOWNj7lCOSZW19\n         999kFdfXBOem6zmOkeJkFszNNHmkRdsGMRcQ/RKoamC+tM7rAyJ0AwvG2HYmecjjCKjZ\n         W/57ymz6Ax6KmbIvIZtSAWQXnXBmaD5WwGUB+PdQ3Q54dRk35oADKfVBqPhXisOfGyBS\n         BM5DfbEO424cXf+Sv06EdwQMPjYOfqH+a1y2gCbYfes0e1t5v2KUxL7oPFS0s6XPB+nz\n         stDEJW9uZelsQzmUsMePNpGC0wJQaXYvo6sUNdhkqYS+YEWea7Nq9iQ6jAAtUcR/Q7ri\n         yh6g==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=1e100.net; s=20251104; t=1777391198; x=1777995998;\n        h=content-transfer-encoding:mime-version:references:in-reply-to\n         :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from\n         :to:cc:subject:date:message-id:reply-to;\n        bh=HaDqba+Z9YUDbJcQeyPUHQc2cEFoh6ewPsWR4yOwgNI=;\n        b=CXwACb+xAW8seetwgAxm6bW+HsINhQEXrrEb1GEco+nshLTwS9EJvJgHKCOZku5eaE\n         82EYN4qybWo8oCZiTI6yELqUJAVg54rNNEPecEeBIAipOhzf43JHdALJIwrS8nujPIXO\n         sHrdMNn9m1bOd2Z7a/3c765O114/eXq+kuQ0qJpldvv/WLw71yFhgWXJeTSg7PRCMtx+\n         CY/tR53EuJZXLlrG007lSIFLDUzAVpfL+obGxgCUUG1/hXiABW7z63feZA0S0t10x7aW\n         R0p8WFJMgtG5lToDZePcxggKLmgicQ7PTarExltAvCwth9eJj/ZCn8qTpyRWs5/5gP+2\n         7hFg==",
        "X-Gm-Message-State": "AOJu0YzG7e9qhsuZsD6Fr8xJwiHnzGAi76kRESRUAZvcEC/e06EBx1UH\n\tM7RGMiRpyQiav7+15aUaIiZXl8u2fm/4tNq3FWnbE019sg8G+z/qyFS9O/SUnvGkFnurm1YGe5O\n\tEeSHJ2L4VnQ==",
        "X-Gm-Gg": "AeBDietRMlhcNDfl8EliWnW9nNBCt5QiO+Wx3bOlljZ2MCmfG7z28lq6mAX+4fzgtCK\n\tRAiIiMj0vZu1rIMZLSOtXPHZi/qnTP8Se0bVBylW2MMOoRh54EoX4ImRbuD+lAI6ggpBo1yTfUi\n\tvt30gGXFjOTO7s2h9yGDbLw2fjPraOv/Gf4Of1k46s3utqcnM1NQfKK6vgn8dO3gOwhCCGG/AYU\n\tbh0z+Xx42XLcQ8k3r3xYzz2SRLc1A3VjvG6HzJ+UJZkyamFSNUJlEzmlhkrS4oPY70ay1S7XZDK\n\tNIkyUr0YEzx9fMKaXgLbvK4YGxuh5rk3CvJXtDSB3Mn826SDgBoE+R4kXxfA2XgPsWa5gzoJdxT\n\t2QWmjkXlYiYCdNUGC8puXIKoLEJef10DqV+PM2G2BrGBlPnKKFkmA6LyAuMQQeJrYiL1gTwZlKb\n\t8zm8KtMgmZ/O4Lxx9KUurm/Zh8VHfl2CqqxbfnqomtqXPh",
        "X-Received": "by 2002:a05:600c:1395:b0:483:7903:c3b1 with SMTP id\n 5b1f17b1804b1-48a7b53bd9fmr3075445e9.20.1777391197780;\n        Tue, 28 Apr 2026 08:46:37 -0700 (PDT)",
        "From": "Henrique Carvalho <henrique.carvalho@suse.com>",
        "To": "linux-cifs@vger.kernel.org",
        "Cc": "sfrench@samba.org,\n\tlinkinjeon@kernel.org,\n\tmetze@samba.org,\n\tpc@manguebit.com,\n\tronniesahlberg@gmail.com,\n\tsprasad@microsoft.com,\n\ttom@talpey.com,\n\tbharathsm@microsoft.com,\n\tematsumiya@suse.de,\n\tHenrique Carvalho <henrique.carvalho@suse.com>",
        "Subject": "[PATCH 01/11] smb: common: add smb_tls struct shared by client and\n server",
        "Date": "Tue, 28 Apr 2026 12:45:58 -0300",
        "Message-ID": "<20260428154604.222551-3-henrique.carvalho@suse.com>",
        "X-Mailer": "git-send-email 2.53.0",
        "In-Reply-To": "<20260428154604.222551-1-henrique.carvalho@suse.com>",
        "References": "<20260428154604.222551-1-henrique.carvalho@suse.com>",
        "Precedence": "bulk",
        "X-Mailing-List": "linux-cifs@vger.kernel.org",
        "List-Id": "<linux-cifs.vger.kernel.org>",
        "List-Subscribe": "<mailto:linux-cifs+subscribe@vger.kernel.org>",
        "List-Unsubscribe": "<mailto:linux-cifs+unsubscribe@vger.kernel.org>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit"
    },
    "content": "Both the SMB client (mount path) and ksmbd server (accept path) need\nto drive a TLS handshake over their accepted/connected QUIC socket\nvia the kernel handshake API.\n\nPull the small bit of state shared between the two callers - the\ncompletion, status and peerid populated by the handshake callback,\nand the tls_handshake_args structure passed to\ntls_{client,server}_hello_x509() - into one common header in\nfs/smb/common/smbglob.h.\n\nDefine SMB_TLS_TIMEOUT_MS (3000) here as well so client and server\nagree on the handshake timeout.\n\nSigned-off-by: Henrique Carvalho <henrique.carvalho@suse.com>\n---\n fs/smb/common/smbglob.h | 12 ++++++++++++\n 1 file changed, 12 insertions(+)",
    "diff": "diff --git a/fs/smb/common/smbglob.h b/fs/smb/common/smbglob.h\nindex 4e33d91cdc9d..a08d804af0ed 100644\n--- a/fs/smb/common/smbglob.h\n+++ b/fs/smb/common/smbglob.h\n@@ -11,6 +11,9 @@\n #ifndef _COMMON_SMB_GLOB_H\n #define _COMMON_SMB_GLOB_H\n \n+#include <net/sock.h>\n+#include <net/handshake.h>\n+\n struct smb_version_values {\n \tchar\t\t*version_string;\n \t__u16\t\tprotocol_id;\n@@ -66,4 +69,13 @@ static inline void inc_rfc1001_len(void *buf, int count)\n \n #define MAX_CIFS_SMALL_BUFFER_SIZE 448 /* big enough for most */\n \n+struct smb_tls {\n+\tstruct completion handshake_done;\n+\tint status;\n+\tkey_serial_t peerid;\n+\tstruct tls_handshake_args args;\n+};\n+\n+#define SMB_TLS_TIMEOUT_MS 3000\n+\n #endif\t/* _COMMON_SMB_GLOB_H */\n",
    "prefixes": [
        "01/11"
    ]
}