]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf2c65acfb3790fba47cfc63a09b2cbe764f7aeb1
treec15f420e1ad7c3324e1fb59bc91a6aaecb92e25d
parent1f79e94040e171b45bdfcae455187fbfb3d55c9e
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