Re: [PATCH] ppp: add IFLA_PPP_UNIT netlink attribute

Jakub Kicinski <[email protected]> Thu, 12 Mar 2026 18:00:39 -0700
Newsgroups org.kernel.vger.linux-ppp,org.kernel.vger.linux-kernel,org.kernel.vger.netdev
Message-ID <[email protected]>
On Wed, 11 Mar 2026 08:35:26 +0100 Martin Olivier wrote:
> +	[IFLA_PPP_UNIT]		= { .type = NLA_S32 },

	[IFLA_PPP_UNIT]		= NLA_POLICY_MIN(NLA_S32, 0)

and then you can remove the manual check in validate?
-- 
pw-bot: cr