]> www.infradead.org Git - users/jedix/linux-maple.git/commit
netconsole: add taskname to extradata entry count
authorBreno Leitao <leitao@debian.org>
Fri, 28 Feb 2025 12:50:20 +0000 (04:50 -0800)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 4 Mar 2025 14:28:28 +0000 (15:28 +0100)
commit33e4b29f2b3b7d013629bb86abe5cb726ec91199
treea884a1c6accdea3c4d28c984582b08291b287c1d
parent4d989521a93bcabce7c18060d5cf98a207d56cbe
netconsole: add taskname to extradata entry count

New SYSDATA_TASKNAME feature flag to track when taskname append is enabled.

Additional check in count_extradata_entries() to include taskname in
total, counting it as an entry in extradata. This function is used to
check if we are not overflowing the number of extradata items.

Signed-off-by: Breno Leitao <leitao@debian.org>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/netconsole.c