From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linuxfoundation.org ([140.211.169.12]:50914 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751561AbdADOBL (ORCPT ); Wed, 4 Jan 2017 09:01:11 -0500 Subject: Patch "CIFS: Fix missing nls unload in smb2_reconnect()" has been added to the 4.9-stable tree To: pshilov@microsoft.com, gregkh@linuxfoundation.org, sprabhu@redhat.com Cc: , From: Date: Wed, 04 Jan 2017 15:00:23 +0100 Message-ID: <1483538423157236@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org List-ID: 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.9-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.9 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let know about it. >>From 4772c79599564bd08ee6682715a7d3516f67433f Mon Sep 17 00:00:00 2001 From: Pavel Shilovsky Date: Tue, 29 Nov 2016 11:30:58 -0800 Subject: CIFS: Fix missing nls unload in smb2_reconnect() From: Pavel Shilovsky commit 4772c79599564bd08ee6682715a7d3516f67433f upstream. Acked-by: Sachin Prabhu Signed-off-by: Pavel Shilovsky Signed-off-by: Greg Kroah-Hartman --- fs/cifs/smb2pdu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/fs/cifs/smb2pdu.c +++ b/fs/cifs/smb2pdu.c @@ -280,7 +280,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 pshilov@microsoft.com are queue-4.9/cifs-fix-missing-nls-unload-in-smb2_reconnect.patch queue-4.9/cifs-decrease-verbosity-of-ioctl-call.patch queue-4.9/cifs-fix-a-possible-double-locking-of-mutex-during-reconnect.patch queue-4.9/cifs-fix-a-possible-memory-corruption-in-push-locks.patch queue-4.9/cifs-fix-a-possible-memory-corruption-during-reconnect.patch