Re: [PATCH v2 net-next 6/6] netlink: add universal 'bigint' attribute type
From: Alexander Lobakin
Date: Wed Oct 19 2022 - 11:42:37 EST
From: Jakub Kicinski <kuba@xxxxxxxxxx>
Date: Tue, 18 Oct 2022 12:53:58 -0700
> On Tue, 18 Oct 2022 16:00:27 +0200 Alexander Lobakin wrote:
> > @@ -235,12 +236,15 @@ enum nla_policy_validation {
> > * given type fits, using it verifies minimum length
> > * just like "All other"
> > * NLA_BITFIELD32 Unused
> > + * NLA_BIGINT Number of bits in the big integer
[...]
> > + break;
> > +
>
> Very good stuff, the validation vs type separation is the big question.
Another round of great comments, copied to the TODO. Will dig out
everything and return with v3, for now at least most of those sound
possible and reasonable.
Thanks,
Olek