]> git.baikalelectronics.ru Git - kernel.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)
commitcf53b6093b6f979209e31e4b614de5c38dfcce9b
tree299dbd511f05d4e3a3a1fa42429c3107cbd5dbe9
parent7cd7eeadec13169987c63a23b8db11fbb6ac96e9
smb3: fix lease break problem introduced by compounding

Fixes problem (discovered by Aurelien) introduced by recent commit:
commit f20cb82fc5d45bcc454a95124f9cb5c441163974
("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