mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 06:44:00 -04:00
Add a new selftest to verify netconsole's handling of messages that exceed the packet size limit and require fragmentation. The test sends messages with varying sizes and userdata, validating that: 1. Large messages are correctly fragmented and reassembled 2. Userdata fields are properly preserved across fragments 3. Messages work correctly with and without kernel release version appending The test creates a networking environment using netdevsim, sends messages through /dev/kmsg, and verifies the received fragments maintain message integrity. Signed-off-by: Breno Leitao <leitao@debian.org> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://patch.msgid.link/20250203-netcons_frag_msgs-v1-1-5bc6bedf2ac0@debian.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
20 lines
349 B
Makefile
20 lines
349 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
TEST_INCLUDES := $(wildcard lib/py/*.py) \
|
|
$(wildcard lib/sh/*.sh) \
|
|
../../net/net_helper.sh \
|
|
../../net/lib.sh \
|
|
|
|
TEST_PROGS := \
|
|
netcons_basic.sh \
|
|
netcons_fragmented_msg.sh \
|
|
netcons_overflow.sh \
|
|
ping.py \
|
|
queues.py \
|
|
stats.py \
|
|
shaper.py \
|
|
hds.py \
|
|
# end of TEST_PROGS
|
|
|
|
include ../../lib.mk
|