[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CALnP8Zaxp1D3gC8tqRwULdJVL1uSnpGUq43fyL-QRkVTjDFb1Q@mail.gmail.com>
Date: Fri, 1 Dec 2023 10:12:34 -0800
From: Marcelo Ricardo Leitner <mleitner@...hat.com>
To: Pedro Tammela <pctammela@...atatu.com>
Cc: netdev@...r.kernel.org, davem@...emloft.net, edumazet@...gle.com,
kuba@...nel.org, pabeni@...hat.com, jhs@...atatu.com,
xiyou.wangcong@...il.com, jiri@...nulli.us
Subject: Re: [PATCH net-next v2 4/4] net/sched: act_api: use
tcf_act_for_each_action in tcf_idr_insert_many
On Fri, Dec 01, 2023 at 02:50:15PM -0300, Pedro Tammela wrote:
> The actions array is contiguous, so stop processing whenever a NULL
> is found. This is already the assumption for tcf_action_destroy[1],
> which is called from tcf_actions_init.
>
> [1] https://elixir.bootlin.com/linux/v6.7-rc3/source/net/sched/act_api.c#L1115
>
> Acked-by: Jamal Hadi Salim <jhs@...atatu.com>
> Signed-off-by: Pedro Tammela <pctammela@...atatu.com>
Patch could have been squashed with patch 1, btw.
Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@...il.com>
Powered by blists - more mailing lists