Thread (18 messages) 18 messages, 4 authors, 2026-02-03

Re: [PATCH net-next v5 2/4] netconsole: extract message fragmentation into send_msg_udp()

From: John Ogness <john.ogness@linutronix.de>
Date: 2026-01-28 14:44:53
Also in: lkml

On 2026-01-28, Breno Leitao [off-list ref] wrote:
Extract the message fragmentation logic from write_msg() into a
dedicated send_msg_udp() function. This improves code readability
and prepares for future enhancements.

The new send_msg_udp() function handles splitting messages that
exceed MAX_PRINT_CHUNK into smaller fragments and sending them
sequentially. This function is placed before send_ext_msg_udp()
to maintain a logical ordering of related functions.

No functional changes - this is purely a refactoring commit.

Reviewed-by: Petr Mladek <pmladek@suse.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: Breno Leitao <leitao@debian.org>
Reviewed-by: John Ogness <john.ogness@linutronix.de>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help