From mboxrd@z Thu Jan 1 00:00:00 1970 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 412E63191D3; Thu, 6 Nov 2025 14:41:06 +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=1762440066; cv=none; b=eJytfkQXOnFVfjqmAmnpSV8QPIkyAVTGxh5r/2zMsFbhnydJr4dBU3C7W2kP0i3qceiMcfS58UGobpCeAAu47+B9SgjHz8Uy0U5ETONpY2xdcqNv1pkceZ+S/R/hDWBUKrLcvFHbyZQNWmfk7sblDTsgUI4jOtj0PRwtkwsTHVk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762440066; c=relaxed/simple; bh=jZwU5Q5k5Hv/99JNHI6SHIbM5weSSTkab1oATNjTjEY=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=d9mYifAKZH5a49uQjXp8LMRoloWmkHtA6PwkwO6Zg63lLFX4JIdjAy/r3tyGAluaeve9exmmUUVY3OAH0u1onX2UIeq0U5zjPrNPFHSrrZu8DnYzNt/1tRy6qpHNSA5D+jBydDrzP3EFzd3qnPGdQw2rQKlaDVtOE2yyADeXC2s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=fUuuZgH7; 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="fUuuZgH7" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 55FEAC4CEF7; Thu, 6 Nov 2025 14:41:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1762440066; bh=jZwU5Q5k5Hv/99JNHI6SHIbM5weSSTkab1oATNjTjEY=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=fUuuZgH7+fyp15S3A7Zbg1vGuRp32+ExBwYBM6a1kdDdLZufYKcjsfL1dUi6OXttk uKep1rFjt1Swu7d9oTmBxfENFcdX2oE+eao/ViC6aD2jugUjy546rNTtsXx6CXoCOC /Gfs1bFJ8m27MWOXpjH7i16lZTF1dFfmDtOxdg0Ck7yo5Tgakq/PHVHk+nkDGOwKPw M4HKxlznv1QRXOmZ1JyGaLI5p+eWM5ywj1dQrSmM8nk9PjtWuKWLmW+HZX89Ei7Dgs BMM0lDVNeV96YcivP4VDH0RKcGxlJ+PK+sHv1j8bw3ydwglfM7MxuA3nSQ6LKLgY/f 7sPu99YISlZbA== Date: Thu, 6 Nov 2025 06:41:04 -0800 From: Jakub Kicinski To: Hangbin Liu Cc: netdev@vger.kernel.org, Donald Hunter , "David S. Miller" , Eric Dumazet , Paolo Abeni , Simon Horman , Jan Stancek , "Matthieu Baerts (NGI0)" , =?UTF-8?B?QXNiasO4cm4=?= Sloth =?UTF-8?B?VMO4bm5lc2Vu?= , Stanislav Fomichev , Shuah Khan , Ido Schimmel , Guillaume Nault , Petr Machata , linux-kselftest@vger.kernel.org Subject: Re: [PATCH net-next 2/3] netlink: specs: update rt-rule src/dst attribute types to support IPv4 addresses Message-ID: <20251106064104.135b73de@kernel.org> In-Reply-To: References: <20251029082245.128675-1-liuhangbin@gmail.com> <20251029082245.128675-3-liuhangbin@gmail.com> <20251029163742.3d96c18d@kernel.org> <20251104164804.540a9b8d@kernel.org> <20251105161319.0591f96e@kernel.org> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Thu, 6 Nov 2025 02:34:20 +0000 Hangbin Liu wrote: > > > The display-hint is required; otherwise, the displayed src and dst fi= elds > > > appear as binary data, and setting the rule=E2=80=99s src/dst values = also fails. I > > > haven=E2=80=99t checked the code yet, but with > > > - display-hint: ipv4 > > > the IPv6 addresses are also displayed correctly :) =20 > >=20 > > Heh, we should have called the hint "ip" in that case :) =20 >=20 > I saw the display hit supports "ipv4-or-v6",=20 Ah! > but genetlink-c.yaml doesn't have "ipv4-or-v6". Do you know why? Probably just wasn't used until now. It should be in all the schemas.