diff options
author | Shyam Prasad N <sprasad@microsoft.com> | 2023-06-09 17:46:59 +0000 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2023-06-11 20:52:49 -0500 |
commit | 2991b77409891e14a10b96899755c004b0c07edb (patch) | |
tree | 1d9ef63e10104e72db55b330c6e4a923f090f504 /fs/no-block.c | |
parent | 50e63d6db6fd30a6dd9a33c49aa5b0bba36e1a92 (diff) |
cifs: fix sockaddr comparison in iface_cmp
iface_cmp used to simply do a memcmp of the two
provided struct sockaddrs. The comparison needs to do more
based on the address family. Similar logic was already
present in cifs_match_ipaddr. Doing something similar now.
Signed-off-by: Shyam Prasad N <sprasad@microsoft.com>
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/no-block.c')
0 files changed, 0 insertions, 0 deletions