From mboxrd@z Thu Jan 1 00:00:00 1970 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 034D63C5528 for ; Tue, 17 Mar 2026 12:52:48 +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=1773751969; cv=none; b=Ro7aPb6fHshwZKN1C0KlftCyP62X+BeD32Vij8yF16e8cGQZZJJ+ec4bK6h/I0cSQaIrbsBZkEQC0nnxDkEJVuq54u7avWR/ZhsJYSubxX4wYvQ4uxQkjmbE5+kc6z5kuvKXohVwQzkRVsVuI/1g1RDHWrNbozYSQp5xahG6NiQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773751969; c=relaxed/simple; bh=oku3tFzqEBQHLZhFrqiL3FHmEle40qROZq1L+kej+Uk=; h=Subject:To:Cc:From:Date:Message-ID:MIME-Version:Content-Type; b=cY0zTWZPCKWxPCJhLocPOm9FsbonEoIauu2kxIxYI7EGbq10Vpj3R2IrcKsCLeLFCg7fmvZ13qpYPCi710LfQrtNEpcsL4e6ow6RJTi/WDIEMwj4BSN1YqnTofjxhKP/VsJh44q3mbuWYw21jKeC4XSxeaHVTvaeRYF5YtgBVRM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=PjkGhKEo; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="PjkGhKEo" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B3D2CC4CEF7; Tue, 17 Mar 2026 12:52:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1773751968; bh=oku3tFzqEBQHLZhFrqiL3FHmEle40qROZq1L+kej+Uk=; h=Subject:To:Cc:From:Date:From; b=PjkGhKEoBay6HhvKtF9XXpxoP7upwRuC/7wNhL0/7kTbZF+LJdWBNCelxrLKb7UZg j0dnQeMR5wkoWR3VGw6mcgdT968nctZyEt5EeAx3zRn7uWmGTZak2CS4guqosElNQM gx2wKINBpTszr72K+zT0NGbB3vYjxH9T9uidlsdw= Subject: FAILED: patch "[PATCH] netconsole: fix sysdata_release_enabled_show checking wrong" failed to apply to 6.19-stable tree To: leitao@debian.org,kuba@kernel.org Cc: From: Date: Tue, 17 Mar 2026 13:52:40 +0100 Message-ID: <2026031740-salon-routine-26fd@gregkh> Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit The patch below does not apply to the 6.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 . To reproduce the conflict and resubmit, you may use the following commands: git fetch https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/ linux-6.19.y git checkout FETCH_HEAD git cherry-pick -x 5af6e8b54927f7a8d3c7fd02b1bdc09e93d5c079 # git commit -s git send-email --to '' --in-reply-to '2026031740-salon-routine-26fd@gregkh' --subject-prefix 'PATCH 6.19.y' HEAD^.. Possible dependencies: thanks, greg k-h ------------------ original commit in Linus's tree ------------------ >From 5af6e8b54927f7a8d3c7fd02b1bdc09e93d5c079 Mon Sep 17 00:00:00 2001 From: Breno Leitao Date: Mon, 2 Mar 2026 03:40:46 -0800 Subject: [PATCH] netconsole: fix sysdata_release_enabled_show checking wrong flag sysdata_release_enabled_show() checks SYSDATA_TASKNAME instead of SYSDATA_RELEASE, causing the configfs release_enabled attribute to reflect the taskname feature state rather than the release feature state. This is a copy-paste error from the adjacent sysdata_taskname_enabled_show() function. The corresponding _store function already uses the correct SYSDATA_RELEASE flag. Fixes: 343f90227070 ("netconsole: implement configfs for release_enabled") Signed-off-by: Breno Leitao Cc: stable@vger.kernel.org Link: https://patch.msgid.link/20260302-sysdata_release_fix-v1-1-e5090f677c7c@debian.org Signed-off-by: Jakub Kicinski diff --git a/drivers/net/netconsole.c b/drivers/net/netconsole.c index 2db116fb1a7c..3c9acd6e49e8 100644 --- a/drivers/net/netconsole.c +++ b/drivers/net/netconsole.c @@ -617,7 +617,7 @@ static ssize_t sysdata_release_enabled_show(struct config_item *item, bool release_enabled; dynamic_netconsole_mutex_lock(); - release_enabled = !!(nt->sysdata_fields & SYSDATA_TASKNAME); + release_enabled = !!(nt->sysdata_fields & SYSDATA_RELEASE); dynamic_netconsole_mutex_unlock(); return sysfs_emit(buf, "%d\n", release_enabled);