]> git.baikalelectronics.ru Git - kernel.git/commit
smb3: send CAP_DFS capability during session setup
authorSteve French <stfrench@microsoft.com>
Thu, 25 Jul 2019 23:13:10 +0000 (18:13 -0500)
committerSteve French <stfrench@microsoft.com>
Tue, 6 Aug 2019 03:50:38 +0000 (22:50 -0500)
commit2b2135fc2d4beb09dc2f5ee9734c805b4fd20242
treece78d625cb14e0f9ab67af127a80f69dac726f40
parent8e439435daa6a4f7915b1c35e9c6c4b297423671
smb3: send CAP_DFS capability during session setup

We had a report of a server which did not do a DFS referral
because the session setup Capabilities field was set to 0
(unlike negotiate protocol where we set CAP_DFS).  Better to
send it session setup in the capabilities as well (this also
more closely matches Windows client behavior).

Signed-off-by: Steve French <stfrench@microsoft.com>
Reviewed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com>
CC: Stable <stable@vger.kernel.org>
fs/cifs/smb2pdu.c