Re: [nft PATCH] dynset: avoid errouneous assert with ipv6 concat data

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 8 Apr 2024 at 03:17, Florian Westphal <fw@xxxxxxxxx> wrote:
>
> Could you plese either extend an existing test case or add a new one for
> this?
>

Sure. I'm working on it.

> > -     sreg_data = get_register(ctx, stmt->map.data);
>
> This line is wrong, this sould be
>
>         sreg_data = get_register(ctx, stmt->map.data->key);

You're correct. Fixing the bug with your suggest is much simpler than
mine if getting registers of ipv6 concat data directly with
"get_register(ctx, stmt->map.data->key);" instead of
"get_register(ctx, stmt->map.data)"




[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux