diff options
| author | Pedro Tammela <[email protected]> | 2023-12-01 17:50:13 +0000 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2023-12-05 10:15:08 +0000 |
| commit | a0e947c9ccffe47d45aca793d9e7fe4f4494e381 (patch) | |
| tree | 2a5d782e7e335376c52e696cd145314ae87903f0 /drivers/net/ethernet/intel/ice/ice_main.c | |
| parent | net/sched: act_api: use tcf_act_for_each_action (diff) | |
| download | kernel-a0e947c9ccffe47d45aca793d9e7fe4f4494e381.tar.gz kernel-a0e947c9ccffe47d45aca793d9e7fe4f4494e381.zip | |
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 <[email protected]>
Signed-off-by: Pedro Tammela <[email protected]>
Acked-by: Marcelo Ricardo Leitner <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_main.c')
0 files changed, 0 insertions, 0 deletions
