From nobody Sun Feb 8 23:25:47 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 825C916ABD4; Wed, 27 Mar 2024 12:20:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711542025; cv=none; b=eXji13qlxf3Y74uFwb7Rf1TWjwIBXStlif1HSeMxqKGF6Z8wZPmKjTKd2dIdQLTozCg5A5AYXf3H5QguDGwqTqCA+ouG7r0RSI+eeUu7owhbrcUUHZjlNTz1FOUJuqjxAVpny5SsYo13a02/4scrI5N4+j2oiPp5VkMfmsaNC8c= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711542025; c=relaxed/simple; bh=DzcdYJJBV0lPxBWCGcjRukIWCbBoK5eOpZ0p4aTACMo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=byZ/BgBlWiDNUq042BuevwpBBpOz0oK3mUKOa0nzwFKVuMo2rpC37/pk2MDvYs49HiIwPQSdAOY8lAxZ0EyWkbuI1g1Cr7DwSO/BpxvbgskOwijjrjpvPfvsILuH0jTIXjCKfy7UaDO6kDwxAZVUBmagiH7UyIMvcGCtdeMDTWg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=YZ+rw3Ja; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="YZ+rw3Ja" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 96DA1C43394; Wed, 27 Mar 2024 12:20:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711542025; bh=DzcdYJJBV0lPxBWCGcjRukIWCbBoK5eOpZ0p4aTACMo=; h=From:To:Cc:Subject:Date:From; b=YZ+rw3Ja9DtZUYU542v2zxyxEjyJKSX35lp/J8hZDFOB2NSDsIEzeSSmVgjNabIWi sgbauegmpsu7msbDMnVD9Q7gEXh4x3J0wHtEKAGs8p3/6AItAuKl351mx7Q1uXlcT2 kVjGU0X2UehowMS7KkhFVqDCk5SCsYwAEX3isLCqf4oflrnZ0ycQoH3zNyVy8zo6iM t6G4OVX5jiXqPD6IXhRwHa/oyK2/GBut/t72Tlgbe2x2u4XIsJCVZicF0OjJJEdghh MMwlgs0xY7jJXeEVojWQGAvzDFblZf4EdcP26UH4pI871tM0Utt6d6zrZAD7/FboYG R1DhJHO3NCFWQ== From: Sasha Levin To: stable@vger.kernel.org, sprasad@microsoft.com Cc: =?UTF-8?q?Jan=20=C4=8Cerm=C3=A1k?= , Steve French , linux-cifs@vger.kernel.org, samba-technical@lists.samba.org, linux-kernel@vger.kernel.org Subject: FAILED: Patch "cifs: reduce warning log level for server not advertising interfaces" failed to apply to 5.10-stable tree Date: Wed, 27 Mar 2024 08:20:23 -0400 Message-ID: <20240327122023.2836003-1-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Patchwork-Hint: ignore X-stable: review Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable The patch below does not apply to the 5.10-stable tree. If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to . Thanks, Sasha Reported-by: Jan =C4=8Cerm=C3=A1k ------------------ original commit in Linus's tree ------------------ From 16a57d7681110b25708c7042688412238e6f73a9 Mon Sep 17 00:00:00 2001 From: Shyam Prasad N Date: Wed, 13 Mar 2024 10:40:40 +0000 Subject: [PATCH] cifs: reduce warning log level for server not advertising interfaces MIME-Version: 1.0 Content-Type: text/plain; charset=3DUTF-8 Content-Transfer-Encoding: 8bit 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 =C4=8Cerm=C3=A1k Signed-off-by: Shyam Prasad N Signed-off-by: Steve French --- fs/smb/client/sess.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/smb/client/sess.c b/fs/smb/client/sess.c index 8f37373fd3334..3216f786908fb 100644 --- a/fs/smb/client/sess.c +++ b/fs/smb/client/sess.c @@ -230,7 +230,7 @@ int cifs_try_adding_channels(struct cifs_ses *ses) spin_lock(&ses->iface_lock); if (!ses->iface_count) { spin_unlock(&ses->iface_lock); - cifs_dbg(VFS, "server %s does not advertise interfaces\n", + cifs_dbg(ONCE, "server %s does not advertise interfaces\n", ses->server->hostname); break; } @@ -396,7 +396,7 @@ cifs_chan_update_iface(struct cifs_ses *ses, struct TCP= _Server_Info *server) spin_lock(&ses->iface_lock); if (!ses->iface_count) { spin_unlock(&ses->iface_lock); - cifs_dbg(VFS, "server %s does not advertise interfaces\n", ses->server->= hostname); + cifs_dbg(ONCE, "server %s does not advertise interfaces\n", ses->server-= >hostname); return; } =20 --=20 2.43.0