]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
smb3: fix lease break problem introduced by compounding
authorSteve French <stfrench@microsoft.com>
Tue, 2 Oct 2018 23:54:09 +0000 (18:54 -0500)
committerSteve French <stfrench@microsoft.com>
Tue, 2 Oct 2018 23:54:09 +0000 (18:54 -0500)
commit7af929d6d05ba5564139718e30d5bc96bdbc716a
tree299dbd511f05d4e3a3a1fa42429c3107cbd5dbe9
parent4e34feb5e96328df6a362c88098502b07c1b1e69
smb3: fix lease break problem introduced by compounding

Fixes problem (discovered by Aurelien) introduced by recent commit:
commit b24df3e30cbf48255db866720fb71f14bf9d2f39
("cifs: update receive_encrypted_standard to handle compounded responses")

which broke the ability to respond to some lease breaks
(lease breaks being ignored is a problem since can block
server response for duration of the lease break timeout).

Signed-off-by: Steve French <stfrench@microsoft.com>
Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>
Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com>
fs/cifs/connect.c