diff options
| author | 2025-06-19 12:51:16 +0900 | |
|---|---|---|
| committer | 2025-06-22 17:32:04 +0100 | |
| commit | 14966a8df77e2dffdf765b56abe194aa6b0da325 (patch) | |
| tree | 92615d2810cc83a9f6a1e43b3edc807fe448a7f0 /net/unix/af_unix.c | |
| parent | net/smc: remove unused function smc_lo_supports_v2 (diff) | |
| download | linux-rng-14966a8df77e2dffdf765b56abe194aa6b0da325.tar.xz linux-rng-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 <maze@google.com>
Cc: Lorenzo Colitti <lorenzo@google.com>
Signed-off-by: Yuyang Huang <yuyanghuang@google.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
