SMB311: Fix reconnect
authorSteve French <stfrench@microsoft.com>
Mon, 23 Apr 2018 00:51:22 +0000 (19:51 -0500)
committerSteve French <stfrench@microsoft.com>
Wed, 25 Apr 2018 16:15:20 +0000 (11:15 -0500)
commit0d5ec281c0175d10f8d9be4d4a9c5fb37767ed00
tree2e7191435919faa93f227c40680c97bcb6189f3a
parent23657ad7305ee8b263d27335abdd00917764c9cf
SMB311: Fix reconnect

The preauth hash was not being recalculated properly on reconnect
of SMB3.11 dialect mounts (which caused access denied repeatedly
on auto-reconnect).

Fixes: 8bd68c6e47ab ("CIFS: implement v3.11 preauth integrity")
Signed-off-by: Steve French <smfrench@gmail.com>
CC: Stable <stable@vger.kernel.org>
Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>
fs/cifs/transport.c