diff options
author | Yuan Can <[email protected]> | 2022-12-05 06:15:15 +0000 |
---|---|---|
committer | Paolo Abeni <[email protected]> | 2022-12-07 12:14:12 +0100 |
commit | 4fad22a1281c500f15b172c9d261eff347ca634b (patch) | |
tree | 0726f4d9014937234a56452686b9491c5fe74784 /lib/mpi/mpi-sub-ui.c | |
parent | 063a932b64db3317ec020c94466fe52923a15f60 (diff) |
dpaa2-switch: Fix memory leak in dpaa2_switch_acl_entry_add() and dpaa2_switch_acl_entry_remove()
The cmd_buff needs to be freed when error happened in
dpaa2_switch_acl_entry_add() and dpaa2_switch_acl_entry_remove().
Fixes: 1110318d83e8 ("dpaa2-switch: add tc flower hardware offload on ingress traffic")
Signed-off-by: Yuan Can <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions