]> git.baikalelectronics.ru Git - kernel.git/commit
cifs: Fix DFS cache refresher for DFS links
authorPaulo Alcantara (SUSE) <paulo@paulo.ac>
Tue, 19 Mar 2019 19:54:29 +0000 (16:54 -0300)
committerSteve French <stfrench@microsoft.com>
Wed, 8 May 2019 04:24:54 +0000 (23:24 -0500)
commit1f13885ffd82f8c1044d68497b5d83c9a4e60719
treecde07048b7fe4faa26308571ca842ea9a36eda7c
parent7e6d18b717ff780b40b74086de1fbf2ba145f960
cifs: Fix DFS cache refresher for DFS links

As per MS-DFSC, when a DFS cache entry is expired and it is a DFS
link, then a new DFS referral must be sent to root server in order to
refresh the expired entry.

This patch ensures that all new DFS referrals for refreshing the cache
are sent to DFS root.

Signed-off-by: Paulo Alcantara (SUSE) <paulo@paulo.ac>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/cifsproto.h
fs/cifs/connect.c
fs/cifs/dfs_cache.c
fs/cifs/dfs_cache.h