]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
netconsole: introduce 'msgid' as a new sysdata field
authorGustavo Luiz Duarte <gustavold@gmail.com>
Mon, 16 Jun 2025 17:08:35 +0000 (10:08 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Jun 2025 09:46:10 +0000 (10:46 +0100)
commit15b3c930a29fe00971b52af8b87b1a1d67305190
treebb3d39be58a98f74530a034ff853ff72277fb923
parentec315832f6f98f0fa5719b8b5dd2214ca44ef3f1
netconsole: introduce 'msgid' as a new sysdata field

This adds a new sysdata field to enable assigning a per-target unique id
to each message sent to that target. This id can later be appended as
part of sysdata, allowing targets to detect dropped netconsole messages.
Update count_extradata_entries() to take the new field into account.

Reviewed-by: Breno Leitao <leitao@debian.org>
Signed-off-by: Gustavo Luiz Duarte <gustavold@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/netconsole.c