Thread (12 messages) 12 messages, 5 authors, 11d ago

Re: [PATCH net-next 3/3] selftests: net: check multicast group user count

From: Vadim Fedorenko <vadim.fedorenko@linux.dev>
Date: 2026-07-01 20:56:13
Also in: linux-kselftest, lkml

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 <redacted>
---
  tools/testing/selftests/net/rtnetlink.py | 101 ++++++++++++++++++++---
  1 file changed, 90 insertions(+), 11 deletions(-)
Reviewed-by: Vadim Fedorenko <vadim.fedorenko@linux.dev>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help