]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
cifs: some missing initializations on replay
authorShyam Prasad N <sprasad@microsoft.com>
Sat, 14 Feb 2026 10:29:13 +0000 (15:59 +0530)
committerSteve French <stfrench@microsoft.com>
Mon, 16 Feb 2026 00:32:39 +0000 (18:32 -0600)
commit14f66f44646333d2bfd7ece36585874fd72f8286
tree18d509a568c1961ec4283cf0ace8feae9c816af3
parenta5a50f1415692a0fe3bf0ec17f422cac8e158e65
cifs: some missing initializations on replay

In several places in the code, we have a label to signify
the start of the code where a request can be replayed if
necessary. However, some of these places were missing the
necessary reinitializations of certain local variables
before replay.

This change makes sure that these variables get initialized
after the label.

Cc: stable@vger.kernel.org
Reported-by: Yuchan Nam <entropy1110@gmail.com>
Tested-by: Yuchan Nam <entropy1110@gmail.com>
Signed-off-by: Shyam Prasad N <sprasad@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/smb2ops.c
fs/smb/client/smb2pdu.c