Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 BEFF3F510 for ; Thu, 9 Jan 2025 17:09:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736442592; cv=none; b=Go5ucvx3MvTcDeyEUliaq3WYTh9GRdu0XtPT5zAOlsR+ig+c9qeshtVgy93zvjRvzbbGh5Bdu0JSxnNsE7WieVo7+YQ0pMFKrsGEQd+gwl0T7+gdowZfadLzb4gr9LRMzUHjjpSfxS1Ao6chOXRKl+0LPGfuhAOk8n7BrsZkXn8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736442592; c=relaxed/simple; bh=wwFDKMBUMxEC71EwkHq1OW2a2WzTGGWJVcWciIlv4do=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=sUujXBeKVyT0RUVTRrfvbnhS3id4rZm6Byik3HEdKuhc9kIRhvZLOh1eVfrVqKL9JkNmxkIxpxoDrAnVR4aLiFOh5ayFbh9XPZmtXO0lkW0j9px8pnjcvT60ZnNbQ9tyTe2WRvqf2+4/R5VAdZJT/DzVKhe1z/wBjCwf46Bv94w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=uF6pHOMK; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="uF6pHOMK" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A1E3FC4CED2; Thu, 9 Jan 2025 17:09:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1736442592; bh=wwFDKMBUMxEC71EwkHq1OW2a2WzTGGWJVcWciIlv4do=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=uF6pHOMKuhj0JRLRBF40YmbeOFR52EwqqW85s/o47DR7nSk65wl/w9O9yPxJyviwm aG+UPLTFGRHIlIpJSRhIaKaOVgB82/V+FQX9YPaV9l+VtTMHCWXqWix0Z/dyv8LeE2 VB7NNR2jZuPMrF9a3Loi3KHltJ+LB9mDE+BggYD9oUtQXHv+sFU8QiU0/v3dXsBKUH 3iHW/YAFLRJBUgPS1r4WNC8QBr5eeAi2XHySYVdUb7mq+KQLV2NWrOO+A0mlq0tQMS MsR0REBh7bJ3HPrh22d/jArtY2zYFzaiWNNMUWbVltWiheE55pFbwGBedATG/T1yG1 TX/M93BPkj30A== Message-ID: <1e01b76a-d785-4dd7-8892-504989bfd4ce@kernel.org> Date: Thu, 9 Jan 2025 10:09:50 -0700 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH net-next, v4] netlink: support dumping IPv4 multicast addresses Content-Language: en-US To: Yuyang Huang Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Simon Horman , roopa@cumulusnetworks.com, jiri@resnulli.us, stephen@networkplumber.org, jimictw@google.com, prohr@google.com, liuhangbin@gmail.com, nicolas.dichtel@6wind.com, andrew@lunn.ch, netdev@vger.kernel.org, =?UTF-8?Q?Maciej_=C5=BBenczykowski?= , Lorenzo Colitti References: <20250109072245.2928832-1-yuyanghuang@google.com> From: David Ahern In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 1/9/25 8:52 AM, Yuyang Huang wrote: >> my comment meant that this `type` should be removed and the wrappers >> below just call the intended function. No need for the extra layers. > > Sorry, I still do not fully understand the suggestions. > > In the current inet_dump_ifaddr() function, there are two places where > in_dev_dump_addr() is called. > nevermind. I forgot how IPv6 address dumps are coded, and keeping the 2 protocols aligned is best. So, I guess you just need to resolve the failures Paolo noted.