From nobody Wed Feb 11 12:08:11 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 A14B117AFBF; Wed, 27 Mar 2024 12:24:18 +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=1711542258; cv=none; b=jI83IiVv9BxlYhR/B68eJmTGH01+6cKytoIQ3zRG0HeQServWWCQ7JwQW8X0ZrCmTnoSMEz2c/LW5iIreQgYHJzo5577VX/tA3Jqc25kANtYMJYne8dYpQtdTPRZO4hYlHEo7RYwe1Skan7zkG5ysiJjlz71SQkmRbbezEWCZCA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711542258; c=relaxed/simple; bh=8B9Qu6VMvTle+YauL66HBqRXfQLeZDDUV/yZM+SGu+c=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=UJ40GrUk7pEr8iCdQybaH/v07dFMH5oxBp3YE40gDH9EyxofwUIDbXKScyJ7wPcozZnMMtCikDRSTC5bm5JrN0Ey/ogGvzljbOca0tA5JPD+vDyufH5SIANpzPlj7XrVhDcGvrPyGn8DP7UfaVUgRj7BQPc5J+TQXVPnXYRyKjE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=rftEN6ag; 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="rftEN6ag" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 72517C433F1; Wed, 27 Mar 2024 12:24:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711542258; bh=8B9Qu6VMvTle+YauL66HBqRXfQLeZDDUV/yZM+SGu+c=; h=From:To:Cc:Subject:Date:From; b=rftEN6agQbKRICT6+3q9bLN/thMpNpoighaT/xVkddv8KVSrUdIBpNo9EJNkdSmA4 7nhV3LDOssDSm04d8XCt/+63I3zRA5eEXsm3uYnUWCYsf6qM+BJw99XoEwAruv2SLs F0GoA2nefYdmyHAPAGtCB7A3UxJ5tx5iqWmMrxylEiIxD1jwuEJ2a2yLQ860D6jqV+ COAlVHWr6Agfh5RaY0F+7TDg+dZvbRoQ38KT/6cG+6nLFkFopLHotjghI+5WuLpaBQ gH8E8qP1G7sVbfYglrUGB+5SzQzM9pnM0e4s9lsZRrePskEOpwkVJipeaH79o3xfRO C0lm4yOgmoD2w== 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.4-stable tree Date: Wed, 27 Mar 2024 08:24:16 -0400 Message-ID: <20240327122416.2839276-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.4-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