Pedro Tammela f9bfc8eb13 net/sched: act_api: use tcf_act_for_each_action in tcf_idr_insert_many
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@mojatatu.com>
Signed-off-by: Pedro Tammela <pctammela@mojatatu.com>
Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2023-12-05 11:15:08 +01:00
..
2023-10-23 08:45:25 +01:00
2023-10-01 19:09:54 +01:00
2023-12-05 10:48:00 +01:00
2023-08-29 17:39:15 -07:00
2023-06-24 15:41:46 -07:00
2023-10-01 19:09:54 +01:00
2023-11-08 13:39:16 -08:00
2023-10-01 19:09:54 +01:00
2023-10-11 10:39:01 +01:00