diff options
| author | Yuyang Huang <yuyanghuang@google.com> | 2025-06-14 14:35:22 +0900 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-06-17 17:58:51 -0700 |
| commit | e74058f5619f17a4ee2ffa2b426d989a9b9c6293 (patch) | |
| tree | 4a33398f37feaff7a9546d88bcc19f7cf5db4b79 /scripts/lib/kdoc/kdoc_output.py | |
| parent | 67f2efc47850e1e8e3a74203459dc218a27d21f9 (diff) | |
selftest: Add selftest for multicast address notifications
This commit adds a new kernel selftest to verify RTNLGRP_IPV4_MCADDR
and RTNLGRP_IPV6_MCADDR notifications. The test works by adding and
removing a dummy interface and then confirming that the system
correctly receives join and removal notifications for the 224.0.0.1
and ff02::1 multicast addresses.
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>
Link: https://patch.msgid.link/20250614053522.623820-1-yuyanghuang@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions
