Re: [PATCH net-next 1/8] lib: packing: create __pack() and __unpack() variants without error checking
From: Jacob Keller
Date: Mon Oct 14 2024 - 14:53:07 EST
On 10/14/2024 7:27 AM, Vladimir Oltean wrote:
> On Fri, Oct 11, 2024 at 11:48:29AM -0700, Jacob Keller wrote:
>> From: Vladimir Oltean <vladimir.oltean@xxxxxxx>
>>
>> A future variant of the API, which works on arrays of packed_field
>> structures, will make most of these checks redundant. The idea will be
>> that we want to perform sanity checks only once at boot time, not once
>> for every function call. So we need faster variants of pack() and
>> unpack(), which assume that the input was pre-sanitized.
>>
>> Signed-off-by: Vladimir Oltean <vladimir.oltean@xxxxxxx>
>> ---
>
> All patches with an author different than the submitter must have the
> submitter sign off on them as well.
>
Yep, just forgot to add it to this one :)
> Please do not resend without some reviewer activity first on the code
> generation portion from patch 3/8, though.
Agreed, no reason to move the discussion to a new version yet.