smb3: do not log confusing message when server returns no network interfaces
authorSteve French <stfrench@microsoft.com>
Sat, 1 Oct 2022 16:44:08 +0000 (11:44 -0500)
committerSteve French <stfrench@microsoft.com>
Wed, 5 Oct 2022 22:40:41 +0000 (17:40 -0500)
commit4659f01e3cd94f64d9bd06764ace2ef8fe1b6227
treec15f420e1ad7c3324e1fb59bc91a6aaecb92e25d
parent3afdfb0dd4baed45b7010e672e44c21fa790bace
smb3: do not log confusing message when server returns no network interfaces

Some servers can return an empty network interface list so, unless
multichannel is requested, no need to log an error for this, and
when multichannel is requested on mount but no interfaces, log
something less confusing.  For this case change
   parse_server_interfaces: malformed interface info
to
   empty network interface list returned by server localhost

Also do not relog this error every ten minutes (only log on mount, once)

Cc: <stable@vger.kernel.org>
Reviewed-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/cifsproto.h
fs/cifs/connect.c
fs/cifs/smb2ops.c