Re: [RFC PATCH net-next 2/9] net/sched: cls_flower: prepare fl_{set,dump}_key_flags() for ENC_FLAGS

From: Davide Caratti
Date: Wed Jun 26 2024 - 06:02:18 EST


On Wed, Jun 26, 2024 at 11:49 AM Davide Caratti <dcaratti@xxxxxxxxxx> wrote:
>
> So, we must htonl() the policy mask in the second hunk in patch 7,something like:
>

or maybe better (but still untested), use NLA_BE32, like netfilter does in [1]

[1] https://elixir.bootlin.com/linux/latest/A/ident/NF_NAT_RANGE_MASK

--
davide