cifs: Always update signing key of first channel
authorPaulo Alcantara (SUSE) <pc@cjr.nz>
Fri, 22 Nov 2019 15:30:57 +0000 (12:30 -0300)
committerSteve French <stfrench@microsoft.com>
Mon, 25 Nov 2019 15:59:28 +0000 (09:59 -0600)
commitff6b6f3f916097cea49805d71eb94644a234b8a6
tree4167e1d5e8e870c02b1aae864ec1115f1e70d1d8
parent5bb30a4dd60e2a10a4de9932daff23e503f1dd2b
cifs: Always update signing key of first channel

Update signing key of first channel whenever generating the master
sigining/encryption/decryption keys rather than only in cifs_mount().

This also fixes reconnect when re-establishing smb sessions to other
servers.

Signed-off-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Reviewed-by: Aurelien Aptel <aaptel@suse.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/smb2transport.c