]> www.infradead.org Git - users/hch/misc.git/commit
net: netconsole: append userdata to fragmented netconsole messages
authorMatthew Wood <thepacketgeek@gmail.com>
Sun, 4 Feb 2024 23:27:39 +0000 (15:27 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Feb 2024 10:23:46 +0000 (10:23 +0000)
commit1ec9daf950936c2a1c591596e83c09ce2eb12ade
treeee5ca807dadabf62ccddf32e8076e8bf20a504d2
parentb4ab4f2c0ff5f6b5aeccd71c5caeef2cbcfea47d
net: netconsole: append userdata to fragmented netconsole messages

Regardless of whether the original message body or formatted userdata
exceeds the MAX_PRINT_CHUNK, append userdata to the netconsole message
starting with the first chunk that has available space after writing the
body.

Co-developed-by: Breno Leitao <leitao@debian.org>
Signed-off-by: Breno Leitao <leitao@debian.org>
Signed-off-by: Matthew Wood <thepacketgeek@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/netconsole.c