]> www.infradead.org Git - users/jedix/linux-maple.git/commit
cifs: generate signkey for the channel that's reconnecting
authorShyam Prasad N <sprasad@microsoft.com>
Fri, 10 Mar 2023 15:32:01 +0000 (15:32 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Mar 2023 12:33:58 +0000 (13:33 +0100)
commit4aa004224c07df1f7273653b86448eae4eb95695
treee537ad7a84ad120789bed98c94002c83d3e2b9c0
parentae75a110ccc15f013208d83196c7971490db6d17
cifs: generate signkey for the channel that's reconnecting

commit 05ce0448c3f36febd8db0ee0e9e16557f3ab5ee8 upstream.

Before my changes to how multichannel reconnects work, the
primary channel was always used to do a non-binding session
setup. With my changes, that is not the case anymore.
Missed this place where channel at index 0 was forcibly
updated with the signing key.

Signed-off-by: Shyam Prasad N <sprasad@microsoft.com>
Reviewed-by: Paulo Alcantara (SUSE) <pc@manguebit.com>
Cc: stable@vger.kernel.org
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/cifs/smb2transport.c