From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8538338398D for ; Fri, 3 Jul 2026 06:50:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783061432; cv=none; b=tVvcfUuIf3vvn3zTXs9bh3YO7Y0q/iNRK3J5Lg8ElbJFGxFIiOkTk4wTXSjH8Jsd3K7yM6zPjiutiWONRRpcR2cb9N5dU7QiOKbMwUh0t5yYDRzkO0Zt5ZsL0AEsxRZjEN9zOltPYpe6DQnkJfREcjWYgQjdjdghHb1x3a2FDIY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783061432; c=relaxed/simple; bh=FAHgEr0+qYzyMi2GMfvTD6+0+azG/R/j9asAIzLTAZk=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=F0aiWnQVPhaZVYpsgtygqR+w80rOZsW3u31BOqZhN5hcqxEmlN92phCS5oYwXZ20pd+YfKtGcq4BJNxILMCKlg69Zl2eutNwGZmzTlqEonf42lVcroD1ZVhpwpOpneO224IDlN9W36OgowS6IVeLmRc1FNI1qzx661Ke37Kq+ko= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=hnVXtDMt; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b=sZ9me5Fr; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="hnVXtDMt"; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b="sZ9me5Fr" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1783061428; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ZZoQqgKDmro48PzsrYUtUQsh7adKe/rqnmsjXdwyuCY=; b=hnVXtDMtWxtEDFWhgDkFkt6KHdJelFINXoc7p7W4ogfKmDwXTLGBfXrnu8tcEXnFUQjiv0 JRT/8t2PntLhZKR0VTgwxI3D/j596tXERzLPGaA0ASrtzz4h5lfrWp7wjuLPHWp+tpDceV AVNr4Ji8ipKgx5sqk4/i/dnDM7RDerc= Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-446-fORRA3ykNZamKKk5QD_15g-1; Fri, 03 Jul 2026 02:50:27 -0400 X-MC-Unique: fORRA3ykNZamKKk5QD_15g-1 X-Mimecast-MFC-AGG-ID: fORRA3ykNZamKKk5QD_15g_1783061426 Received: by mail-wm1-f72.google.com with SMTP id 5b1f17b1804b1-493a7fa8481so9598235e9.1 for ; Thu, 02 Jul 2026 23:50:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=google; t=1783061426; x=1783666226; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:content-language:from :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=ZZoQqgKDmro48PzsrYUtUQsh7adKe/rqnmsjXdwyuCY=; b=sZ9me5FrNo5YOzNwOhyNA+RzIVG2Td313rod9/bqm3UO4sPD5KNQ3MkRuesbkSUsEO bkaQSOcLbNHxA+vwBBIt+FpeGfIlyaXCt/x6ZRDJLVQNKIWXLIF7urNtnfwwOTukgFcV ELAMSZ8PV3asYtiZ+TIsnUam1OPgQbvutz4Tk4WqYXZXjJmoWmpUP48LtzHZt0VhJqgp E2YS5Mj9Ue3cEL1RvgsMgQutDyTXGcFgIYd17BM2FloBUAonatoWaBg+B/qvN3/Go1oB p5dieT61jklUQK73kB61C7XhA3OiXG7xgngd8wxp4z6e7ptKq+dfTUBMWOGDV31LOix9 CEBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783061426; x=1783666226; h=content-transfer-encoding:in-reply-to:content-language:from :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ZZoQqgKDmro48PzsrYUtUQsh7adKe/rqnmsjXdwyuCY=; b=LmXyUgC+wgpr8K6Xp+TypB/q4PxDbjU36jFQpo1K3+tI0D2FzfzF0lZ4QJnl1YtaFs PkD/LquAFXtWBtw8a/nlXxwsOoIPshoYmNiHQxDgtYrl/nVAV9Mz7Wu5NAmfilnCjoUS H+0hJ77L8Hc1kilvA/rJyypoZFM5WLYWZml5S8mTAKAEWu0RFGh+jNoejkz62D03W5G2 K4QNAoEigFcjm2LJ+kVLwTpiojYYOR1Mhz4MKz3YOfhmRP1+HKiggkHcrBlZ0ibfQ207 WtH0Bl5zt5vnzlRj0flnHkBm7zh7b6pL4GlMWArB3Q7k6TyPX99AR6MBRw8sxwvp0bp7 9POw== X-Forwarded-Encrypted: i=1; AHgh+RoNivHRILaiWmCyYxIbYHHGFQvkqyexJ+k/X9Zj34uVLnpYwnspzFB4snjHEvczoYpPp/Snj6bfQmDIWE0=@vger.kernel.org X-Gm-Message-State: AOJu0YzMjEONhow13DFgD8j0fenAiUyhZ6VkYLCPxaxEtoPSMOWqKhao FN3zHDv/V+P/7WoTWuvBLr7DgpQ3yZEck5b4spPS2yycqoetEpDdE0ALijRGJx5HhNAIZDr5TV1 FAO9iCdfQB6JIC0SZHPyWPae7eVtSe2FZ1NCWxO8qHnpR0PsI/rZ3nxai+Wjmm920Ag== X-Gm-Gg: AfdE7cmiLE5J9LdwGN7iPyOcLMoHJeCAPmHtG7D58JNBQQq1h27TZbLGbxETf1DXWgn uZ5s7qlFR8ATg6ajkjYL09KR4Hlbyg1tuQD7Rw2sn7zgrhOAxz8mTrqiunLutfOgMxd+HBWm9uo WJILxkI2A0DV+tSd7dSN2dAHfy7s4v0tvSN8h4fG/bl63u53d1ezwpGrXRO+IfdvLvmN0IHluHc s6dysZZbGzIKtw0lqCWhCftc5/UdW8SkJD8MzFhIsHZM5uw/wFRsnlYZIPKGhViwoxunVGY12Bl 3rZrOQWxQ+vPfaTodXKANm1hT5DUS/Q7/xNJqHiN/v0BgSq3xCkFBbtIPsZdL+SKXuXPb5TF7mH jlQiYbYcqWDFUcbHEh5TklBWE83TiAPXt2C0RyRxe0FwX9OTfuIH110FMhg7eoLMG/U8eTzu4lP 7gcfiP5AXvkg== X-Received: by 2002:a05:6000:112:b0:46e:6959:35a7 with SMTP id ffacd0b85a97d-4793657c2cdmr2990088f8f.22.1783061426011; Thu, 02 Jul 2026 23:50:26 -0700 (PDT) X-Received: by 2002:a05:6000:112:b0:46e:6959:35a7 with SMTP id ffacd0b85a97d-4793657c2cdmr2990062f8f.22.1783061425565; Thu, 02 Jul 2026 23:50:25 -0700 (PDT) Received: from ?IPV6:2a0d:3344:5521:6b10:2eb7:f61a:75:4534? ([2a0d:3344:5521:6b10:2eb7:f61a:75:4534]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-477db8a4b73sm15116562f8f.15.2026.07.02.23.50.24 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 02 Jul 2026 23:50:25 -0700 (PDT) Message-ID: <2a0033b6-9a54-4de3-b1a8-78d4bc815f56@redhat.com> Date: Fri, 3 Jul 2026 08:50:23 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH net-next 0/3] net: report multicast group user count To: Yuyang Huang Cc: "David S. Miller" , Andrew Lunn , David Ahern , Donald Hunter , Eric Dumazet , Ido Schimmel , Jakub Kicinski , Shuah Khan , Simon Horman , linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, netdev@vger.kernel.org References: <20260630110207.37841-1-sigefriedhyy@gmail.com> From: Paolo Abeni Content-Language: en-US In-Reply-To: <20260630110207.37841-1-sigefriedhyy@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 6/30/26 1:02 PM, Yuyang Huang wrote: > RTM_GETMULTICAST reports IPv4 and IPv6 multicast group membership, but > does not include the per-group user count. Userspace therefore still has > to parse /proc/net/igmp and /proc/net/igmp6 to obtain the Users column. > In particular, this prevents iproute2 from moving "ip maddr show" > entirely from procfs to rtnetlink. > > Add IFA_MC_USERS to carry the user count in RTM_GETMULTICAST dumps and > RTM_NEWMULTICAST / RTM_DELMULTICAST notifications for both address > families. Update the rt-addr YNL specification and extend the rtnetlink > selftest to verify that two joins increase the reported count by two. Will you take care of implementing the iproute2 bits, too? Thanks, Paolo