[PATCH 3/3] cifs: To match file servers, make sure the server hostname matches

Tim Gardner tim.gardner at canonical.com
Wed Dec 15 15:42:57 UTC 2021



On 12/15/21 8:37 AM, Kleber Souza wrote:
> On 15.12.21 15:35, Tim Gardner wrote:
>> From: Shyam Prasad N <sprasad at microsoft.com>
>>
>> BugLink: https://bugs.launchpad.net/bugs/1954926
>>
>> commit 7be3248f313930ff3d3436d4e9ddbe9fccc1f541 upstream.
>>
>> We generally rely on a bunch of factors to differentiate between servers.
>> For example, IP address, port etc.
>>
>> For certain server types (like Azure), it is important to make sure
>> that the server hostname matches too, even if the both hostnames 
>> currently
>> resolve to the same IP address.
>>
>> Signed-off-by: Shyam Prasad N <sprasad at microsoft.com>
>> Cc: stable at vger.kernel.org
>> Signed-off-by: Steve French <stfrench at microsoft.com>
>> Signed-off-by: Tim Gardner <tim.gardner at canonical.com>
> The "(cherry picked|backported from commit ...)" is missing here. This 
> seems
> to have been picked up from a stable tree as a base, so a reference to that
> commit would be good.
> 

It really wasn't picked up from a stable tree as far as I could tell, 
which is why I didn't put the 'backported from' line in here. I guess I 
considered it sufficient that we know from what upstream commit it does 
descend from, i.e., 'commit 7be3248f313930ff3d3436d4e9ddbe9fccc1f541 
upstream'. As noted in the commit log, I received this from the 
Microsoft team (probably done by Steve French the CIFS maintainer).

rtg

-----------
Tim Gardner
Canonical, Inc



More information about the kernel-team mailing list