From nobody Sun Feb 8 06:54:16 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 131CB1B251D; Wed, 27 Mar 2024 12:28:06 +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=1711542486; cv=none; b=cz2a19zVZY39g2/xp+xlNRIlU58e2u5oZbmtFeZThWv2mYZyFpCiVlCWoUj3vrpuTH23rGvN/856jJZQ/qtJqzI10+lv1fkIrsO6STGS2w0g8NpvlA7DruB05vjYmP25lUMyKYCEbTkDIV+XPBxihE064yA5/UsTb8hENuq3EzQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711542486; c=relaxed/simple; bh=e8GShj3b/QegssZeOdi7xhcwDpqEv8JRH8/NZVhM858=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=I+73Zx99JU/BfUV4+ohf11Qts3onHmUO6YdKFNBO2/7tbH+jXf8LJmHWZggt2D9vsk7W4nuzwmMAQ/3h/6YXaoEc2RDw7/175zKSXxeF//tpYvvK+gsJJlyyRLbhASKGyCew7PNqVxT0mdywLM+Djsweioe+AqZ3o4mZfszxAM8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=MhcV6GLJ; 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="MhcV6GLJ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1725DC433C7; Wed, 27 Mar 2024 12:28:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711542485; bh=e8GShj3b/QegssZeOdi7xhcwDpqEv8JRH8/NZVhM858=; h=From:To:Cc:Subject:Date:From; b=MhcV6GLJIkXzbTIMprviVw1aob0yHBY0M7j6dzH+R1XOl2qEp3SpGGgQtwhODdx/Y 40VvHXJCGZjmqDEPIBqP6o7FACR2Wg5mQ1UYtV1fJC7webUVMLhZOTFlPP3tion867 Y//6ZdCzvuGQJjx3kWuiSyTyN3xTmge1CjsnlIuCiWkcVo9UHDipSJu1bhIQbqORkp MLYI/EuBqHssNtzjKDEIpfs7GNZSn3TDN3q4j3ZVvzC4tClorfgn51kZJdYmmzCcdr zNsFwNbDpLniVtSYxRJrpS1iaG/r6DdTbKTZY+8FxAnN4c3yDQz0wq6LU3LE9qe5Fi PnOMdYpvsEObQ== 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 4.19-stable tree Date: Wed, 27 Mar 2024 08:28:03 -0400 Message-ID: <20240327122804.2842456-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 4.19-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