On 30/06/2026 12:02, Yuyang Huang wrote:
Extend the RTM_GETMULTICAST dump test to verify IFA_MC_USERS for both
IPv4 and IPv6 multicast groups.
Run each protocol test in a fresh network namespace to avoid changing
host-network state or racing with unrelated multicast users. Join a
fixed multicast group twice using separate sockets and check that the
reported user count increases by two.
Signed-off-by: Yuyang Huang <[email protected]>
---
tools/testing/selftests/net/rtnetlink.py | 101 ++++++++++++++++++++---
1 file changed, 90 insertions(+), 11 deletions(-)
Reviewed-by: Vadim Fedorenko <[email protected]>