]> 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)
commit456d2d1ee02275a46ef82695845bd6889faa252c
treec15f420e1ad7c3324e1fb59bc91a6aaecb92e25d
parent67d2737bf427adc7dc4ab9ef4504cc0ace91020e
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