Re: [PATCH net-next, v2] selftest: add selftest for anycast notifications

From: Simon Horman
Date: Thu Jun 19 2025 - 06:52:03 EST


On Thu, Jun 19, 2025 at 12:51:16PM +0900, Yuyang Huang wrote:
> 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@xxxxxxxxxx>
> Cc: Lorenzo Colitti <lorenzo@xxxxxxxxxx>
> Signed-off-by: Yuyang Huang <yuyanghuang@xxxxxxxxxx>
> ---
>
> Changelog since v1:
> - Remote unrelated clean up code.

Thanks for the update.

Reviewed-by: Simon Horman <horms@xxxxxxxxxx>