get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2196508,
    "url": "http://patchwork.ozlabs.org/api/patches/2196508/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-cifs-client/patch/20260214102943.190621-1-sprasad@microsoft.com/",
    "project": {
        "id": 12,
        "url": "http://patchwork.ozlabs.org/api/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": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20260214102943.190621-1-sprasad@microsoft.com>",
    "list_archive_url": null,
    "date": "2026-02-14T10:29:13",
    "name": "cifs: some missing initializations on replay",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "4696875162c8916fc34722acd08c643ee1c4d7e3",
    "submitter": {
        "id": 79368,
        "url": "http://patchwork.ozlabs.org/api/people/79368/?format=api",
        "name": "Shyam Prasad N",
        "email": "nspmangalore@gmail.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linux-cifs-client/patch/20260214102943.190621-1-sprasad@microsoft.com/mbox/",
    "series": [
        {
            "id": 492168,
            "url": "http://patchwork.ozlabs.org/api/series/492168/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-cifs-client/list/?series=492168",
            "date": "2026-02-14T10:29:13",
            "name": "cifs: some missing initializations on replay",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/492168/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2196508/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2196508/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "\n <linux-cifs+bounces-9377-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=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20230601 header.b=nVF6s2FI;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=172.232.135.74; helo=sto.lore.kernel.org;\n envelope-from=linux-cifs+bounces-9377-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)",
            "smtp.subspace.kernel.org;\n\tdkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com\n header.b=\"nVF6s2FI\"",
            "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=209.85.214.182",
            "smtp.subspace.kernel.org;\n dmarc=pass (p=none dis=none) header.from=gmail.com",
            "smtp.subspace.kernel.org;\n spf=pass smtp.mailfrom=gmail.com"
        ],
        "Received": [
            "from sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74])\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 4fClfb4lHFz1xwj\n\tfor <incoming@patchwork.ozlabs.org>; Sat, 14 Feb 2026 21:30:15 +1100 (AEDT)",
            "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sto.lore.kernel.org (Postfix) with ESMTP id 9574030067A3\n\tfor <incoming@patchwork.ozlabs.org>; Sat, 14 Feb 2026 10:30:12 +0000 (UTC)",
            "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id A427B2848BE;\n\tSat, 14 Feb 2026 10:30:11 +0000 (UTC)",
            "from mail-pl1-f182.google.com (mail-pl1-f182.google.com\n [209.85.214.182])\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 701C727BF7D\n\tfor <linux-cifs@vger.kernel.org>; Sat, 14 Feb 2026 10:30:10 +0000 (UTC)",
            "by mail-pl1-f182.google.com with SMTP id\n d9443c01a7336-2aaf5d53eaaso10819495ad.0\n        for <linux-cifs@vger.kernel.org>;\n Sat, 14 Feb 2026 02:30:10 -0800 (PST)",
            "from sprasad-dev1.corp.microsoft.com ([167.220.110.24])\n        by smtp.gmail.com with ESMTPSA id\n d9443c01a7336-2ad1a6f9d4dsm15741395ad.8.2026.02.14.02.30.07\n        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n        Sat, 14 Feb 2026 02:30:07 -0800 (PST)"
        ],
        "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1771065011; cv=none;\n b=QGNwMlerC2n0ZE4Cj6vlwbLvOUIKHSaitkmD0Zw9ndBpT62kmR08UWTgKtgbuZkPk4KfvlCl2sGwOI0SPsLxwx23lTwMnmIOHVvMB8S7OUpgMhXailypKajbHliHIBDGQpCL4hidqnflPXmboYSvm6I0k9fK43uMXpn8zARSYvg=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1771065011; c=relaxed/simple;\n\tbh=66bFQJioCqB5CFI2x5MfSZGkiisxs5PAxra1l1UjAak=;\n\th=From:To:Cc:Subject:Date:Message-ID:MIME-Version;\n b=S1RrxTPezM6A8UoPV76bmre1xr7Oo1XFhA+z066h08KLs0xR0YaSaCHuwJMXEIrHzoFg9ETsePa4CEpC7VdVClgSM0uQPEWHLzB/6/e8tjporMFLsXD8IQGcj1uRMoZbgH42iCNYMQtyHQRb1yZqaLaBJUSTX6vbaDShchxeVLI=",
        "ARC-Authentication-Results": "i=1; smtp.subspace.kernel.org;\n dmarc=pass (p=none dis=none) header.from=gmail.com;\n spf=pass smtp.mailfrom=gmail.com;\n dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com\n header.b=nVF6s2FI; arc=none smtp.client-ip=209.85.214.182",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=gmail.com; s=20230601; t=1771065009; x=1771669809;\n darn=vger.kernel.org;\n        h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n         :to:from:from:to:cc:subject:date:message-id:reply-to;\n        bh=4wUQJiyKQ4BFUx5XsHhu4xM8nw7tnHD69jYjWhXt4VA=;\n        b=nVF6s2FI78C1zL8ffEitHH/hHDILHLFjo9ZoPTae+3kp23VUtDT2K11hy+3M7W2yCq\n         KKqQmU+wLLm5vnYErcmh1hU0pj33DydDkC4p3Jd6V8w8kCBRmYDTA2onRvqsali9iCmB\n         xfSVriXcGZNenssPMySeYNhDdIcG0SeGYif2QM9Qdx0pt9ohTCcmp911wo20a1U1HBRe\n         JeOkDEuL0/ExGQOSkOJ9v/tTS0R+/yT8vdoWlglTfvX5y2/arFAFzl6EJFJ2STiT3eLH\n         S9pLU8SUpDVKgOFET5bQH+A9Lo1ENz/59ERBU8l9567VCyHsUDIwpgUAgjGdyHTk64zn\n         GLJA==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=1e100.net; s=20230601; t=1771065009; x=1771669809;\n        h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n         :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date\n         :message-id:reply-to;\n        bh=4wUQJiyKQ4BFUx5XsHhu4xM8nw7tnHD69jYjWhXt4VA=;\n        b=H/kQrmsB6FiVWWnj2MSvT8adUHLL5/YtmmkNTBL9IyY39Sn2br38lzy0ZBnNwfGrEu\n         6mPnQW2/ik5diatLeNEBf+QNgEFaJUaHQbZkNf25ytgYY9t+qE/g9jf5iCs1NGCkSU0K\n         pjcYchFOKKKrr1D4pR5Al81Goikgy/j1IM2UWiUNuEmzPLfk+cqv5SETkkn72Dp9ULr6\n         8l1g4iJBfk/kBlHFVuso+XljLWM9iFyO4nEbaVl3ElkmOThatj8wm6QHD9rTZX0r9MAo\n         aBAsYvk9QahpSTE2RRMk8wkr9MYmmauGiqUI02XMOlIL4SwhivqXw4KDvauRXJ35fuFD\n         Nk5w==",
        "X-Gm-Message-State": "AOJu0Yzxws3eamAtVBiOtMRQ5mW/OfxJXuC6P1NT0pxe5XBwrE/FDrHt\n\tBsm4/gbaV6GjcoKgy3OqFTtUYNSY5PrO7xOs+S2d5UQGPA9V0W36i9xmyjQJS52D",
        "X-Gm-Gg": "AZuq6aLVmlCXFwvgmHzvjJlDaA+D+Kavak0wuZk3r8yAgic17nBtjoHcEI/e+KYxuFW\n\tplqQiCt5KTUqh5EM7aiE2HvJ1scUvVQ7Gek6ELM06tx6dmec/Vw9kpm4vcef+9v/FzTWbMhXxZs\n\tAaTGFoajiMhxaUqbsa8lswpKWzNWrTP3+gcEb5o97qK7Yl4LL2bWjbOhuLIANT2aJcPMHLovyEI\n\tY9Yh6F4jH+KsEbLW65NenHdFJXLh55LlRypkWNOfUoPyDybVOpf8E1pSns0lZFJpuJi0y1V/uOl\n\ttauQt8mVlgzFVCrBOhDKPXN//3qDMdXvl5nPZM5qwIZCMv2QkmAzuoXJdTRQwIIwFWho84opy2K\n\tydHqaHcKuJcP5bjQOeg8rJBNAmhxDx4kaeEFnxEAFYlxcOUbn5nrnbjVFuqXWqBCxkUa1RwBeD0\n\tL03vF2uIyaKCfkqLI1w9lXmW3yvpNO7P0Zbt87LExcBIrZncW9RWAU/7oOo9RAuQ==",
        "X-Received": "by 2002:a17:902:ce87:b0:2a9:5f11:3a26 with SMTP id\n d9443c01a7336-2ad1740bcaamr22696455ad.7.1771065008695;\n        Sat, 14 Feb 2026 02:30:08 -0800 (PST)",
        "From": "nspmangalore@gmail.com",
        "X-Google-Original-From": "sprasad@microsoft.com",
        "To": "linux-cifs@vger.kernel.org,\n\tsmfrench@gmail.com,\n\tpc@manguebit.org,\n\tbharathsm@microsoft.com,\n\thenrique.carvalho@suse.com,\n\tematsumiya@suse.de",
        "Cc": "Shyam Prasad N <sprasad@microsoft.com>",
        "Subject": "[PATCH] cifs: some missing initializations on replay",
        "Date": "Sat, 14 Feb 2026 15:59:13 +0530",
        "Message-ID": "<20260214102943.190621-1-sprasad@microsoft.com>",
        "X-Mailer": "git-send-email 2.43.0",
        "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": "From: Shyam Prasad N <sprasad@microsoft.com>\n\nIn several places in the code, we have a label to signify\nthe start of the code where a request can be replayed if\nnecessary. However, some of these places were missing the\nnecessary reinitializations of certain local variables\nbefore replay.\n\nThis change makes sure that these variables get initialized\nafter the label.\n\nSigned-off-by: Shyam Prasad N <sprasad@microsoft.com>\n---\n fs/smb/client/smb2ops.c | 2 ++\n fs/smb/client/smb2pdu.c | 1 +\n 2 files changed, 3 insertions(+)",
    "diff": "diff --git a/fs/smb/client/smb2ops.c b/fs/smb/client/smb2ops.c\nindex 262df6d2c2c82..ae39b3c027d2d 100644\n--- a/fs/smb/client/smb2ops.c\n+++ b/fs/smb/client/smb2ops.c\n@@ -1185,6 +1185,7 @@ smb2_set_ea(const unsigned int xid, struct cifs_tcon *tcon,\n \n replay_again:\n \t/* reinitialize for possible replay */\n+\tused_len = 0;\n \tflags = CIFS_CP_CREATE_CLOSE_OP;\n \toplock = SMB2_OPLOCK_LEVEL_NONE;\n \tserver = cifs_pick_channel(ses);\n@@ -1586,6 +1587,7 @@ smb2_ioctl_query_info(const unsigned int xid,\n \n replay_again:\n \t/* reinitialize for possible replay */\n+\tbuffer = NULL;\n \tflags = CIFS_CP_CREATE_CLOSE_OP;\n \toplock = SMB2_OPLOCK_LEVEL_NONE;\n \tserver = cifs_pick_channel(ses);\ndiff --git a/fs/smb/client/smb2pdu.c b/fs/smb/client/smb2pdu.c\nindex 4602b4dfe8322..7f3edf42b9c3f 100644\n--- a/fs/smb/client/smb2pdu.c\n+++ b/fs/smb/client/smb2pdu.c\n@@ -2908,6 +2908,7 @@ int smb311_posix_mkdir(const unsigned int xid, struct inode *inode,\n \n replay_again:\n \t/* reinitialize for possible replay */\n+\tpc_buf = NULL;\n \tflags = 0;\n \tn_iov = 2;\n \tserver = cifs_pick_channel(ses);\n",
    "prefixes": []
}