]> git.hungrycats.org Git - linux/commit
netconsole: fix sysdata_release_enabled_show checking wrong flag
authorBreno Leitao <leitao@debian.org>
Mon, 2 Mar 2026 11:40:46 +0000 (03:40 -0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 4 Mar 2026 01:23:50 +0000 (17:23 -0800)
commit5af6e8b54927f7a8d3c7fd02b1bdc09e93d5c079
tree91e1f29d334101adb2b477b3600649725d10e6c8
parent4ee7fa6cf78ff26d783d39e2949d14c4c1cd5e7f
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 <leitao@debian.org>
Cc: stable@vger.kernel.org
Link: https://patch.msgid.link/20260302-sysdata_release_fix-v1-1-e5090f677c7c@debian.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/netconsole.c