Re: [PATCH net-next] selftest: Add selftest for multicast address notifications

2025-05-28 Thread Yuyang Huang
Hi Simon >Other tests in this file seem to warn if the ip command is too old >to support the test. Perhaps we can achieve that here something like this >(completely untested!): Thanks for the advice. I will modify the test to make sure it skips on old iproute2 versions. I will send the patch afte

Re: [PATCH net-next] selftest: Add selftest for multicast address notifications

2025-05-28 Thread Simon Horman
On Tue, May 27, 2025 at 06:18:55PM +0900, Yuyang Huang wrote: > 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 r

[PATCH net-next] selftest: Add selftest for multicast address notifications

2025-05-27 Thread Yuyang Huang
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