Skip to contentSkip to conversation

Patch "CIFS: Fix missing nls unload in smb2_reconnect()" has been added to the 4.8-stable tree

PATCH [email protected] 1 participant 1 message Jan 4, 2017 Stable branch

lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

CIFS: Fix missing nls unload in smb2_reconnect()

to the 4.8-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
cifs-fix-missing-nls-unload-in-smb2_reconnect.patch
and it can be found in the queue-4.8 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From 4772c79599564bd08ee6682715a7d3516f67433f Mon Sep 17 00:00:00 2001

From: Pavel Shilovsky <[email protected]>
Date: Tue, 29 Nov 2016 11:30:58 -0800
Subject: CIFS: Fix missing nls unload in smb2_reconnect()

From: Pavel Shilovsky <[email protected]>

commit 4772c79599564bd08ee6682715a7d3516f67433f upstream.

---
 fs/cifs/smb2pdu.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/cifs/smb2pdu.c +1 -1
@@ -275,7 +275,7 @@ out:
 	case SMB2_CHANGE_NOTIFY:
 	case SMB2_QUERY_INFO:
 	case SMB2_SET_INFO:
-		return -EAGAIN;
+		rc = -EAGAIN;
 	}
 	unload_nls(nls_codepage);
 	return rc;

Patches currently in stable-queue which might be from [email protected] are

queue-4.8/cifs-fix-missing-nls-unload-in-smb2_reconnect.patch queue-4.8/cifs-fix-a-possible-memory-corruption-in-push-locks.patch queue-4.8/cifs-fix-a-possible-memory-corruption-during-reconnect.patch