]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
cifs: reduce warning log level for server not advertising interfaces
authorShyam Prasad N <sprasad@microsoft.com>
Wed, 13 Mar 2024 10:40:40 +0000 (10:40 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Apr 2024 13:28:34 +0000 (15:28 +0200)
commit997b0c26d3fa6d6e5a6456d7f1d341747ef99ebb
treec6b69f792d6040040ef93ceddea709e458906173
parent0845cb6bbf151706451a1bfb7c83fc40c5051631
cifs: reduce warning log level for server not advertising interfaces

[ Upstream commit 16a57d7681110b25708c7042688412238e6f73a9 ]

Several users have reported this log getting dumped too regularly to
kernel log. The likely root cause has been identified, and it suggests
that this situation is expected for some configurations
(for example SMB2.1).

Since the function returns appropriately even for such cases, it is
fairly harmless to make this a debug log. When needed, the verbosity
can be increased to capture this log.

Cc: stable@vger.kernel.org
Reported-by: Jan Čermák <sairon@sairon.cz>
Signed-off-by: Shyam Prasad N <sprasad@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/smb/client/sess.c