cifs: match even the scope id for ipv6 addresses
authorShyam Prasad N <sprasad@microsoft.com>
Tue, 27 Dec 2022 14:04:29 +0000 (14:04 +0000)
committerSteve French <stfrench@microsoft.com>
Thu, 2 Mar 2023 00:18:24 +0000 (18:18 -0600)
commita21be1f5df85831147d5a1cbb5f2a13ec8c6852b
treecec4bdf33b4fabe362c00238bbf5d2b7ca9ad323
parent4bd3e4c7e4e552aa148edd3f2a2326ccc3011122
cifs: match even the scope id for ipv6 addresses

match_address function matches the scope id for ipv6 addresses,
but cifs_match_ipaddr (which is another function used for comparison)
does not use scope id. Doing so with this change.

Signed-off-by: Shyam Prasad N <sprasad@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/connect.c