diff options
author | Pedro Tammela <pctammela@mojatatu.com> | 2023-12-01 14:50:13 -0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2023-12-05 11:15:08 +0100 |
commit | a0e947c9ccffe47d45aca793d9e7fe4f4494e381 (patch) | |
tree | 2a5d782e7e335376c52e696cd145314ae87903f0 /tools/net/ynl/generated/netdev-user.c | |
parent | 3872347e0a16876279bb21642e03842f283f0e38 (diff) |
net/sched: act_api: avoid non-contiguous action array
In tcf_action_add, when putting the reference for the bound actions
it assigns NULLs to just created actions passing a non contiguous
array to tcf_action_put_many.
Refactor the code so the actions array is always contiguous.
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>
Diffstat (limited to 'tools/net/ynl/generated/netdev-user.c')
0 files changed, 0 insertions, 0 deletions