diff options
| author | Yuyang Huang <[email protected]> | 2025-06-19 03:51:16 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2025-06-22 16:32:04 +0000 |
| commit | 14966a8df77e2dffdf765b56abe194aa6b0da325 (patch) | |
| tree | 92615d2810cc83a9f6a1e43b3edc807fe448a7f0 /net/unix/unix_bpf.c | |
| parent | net/smc: remove unused function smc_lo_supports_v2 (diff) | |
| download | kernel-14966a8df77e2dffdf765b56abe194aa6b0da325.tar.gz kernel-14966a8df77e2dffdf765b56abe194aa6b0da325.zip | |
selftest: add selftest for anycast notifications
This commit adds a new kernel selftest to verify RTNLGRP_IPV6_ACADDR
notifications. The test works by adding/removing a dummy interface,
enabling packet forwarding, and then confirming that user space can
correctly receive anycast notifications.
The test relies on the iproute2 version to be 6.13+.
Tested by the following command:
$ vng -v --user root --cpus 16 -- \
make -C tools/testing/selftests TARGETS=net
TEST_PROGS=rtnetlink_notification.sh \
TEST_GEN_PROGS="" run_tests
Cc: Maciej Żenczykowski <[email protected]>
Cc: Lorenzo Colitti <[email protected]>
Signed-off-by: Yuyang Huang <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions
