On Thu, Nov 05, 2026 at 09:47:21AM +0000, Anurag Mandal wrote:
> ice_dcf_hierarchy_commit() frees its temporary VF
> and TC bandwidth buffers only on the error path,
> so every successful commit still leaks them.
>
> Free them on success as well.
>
> Fixes: efd5d15a886b ("net/ice: fix memory leak in DCF QoS bandwidth config")
> Cc: [email protected]
>
> Signed-off-by: Anurag Mandal <[email protected]>
> ---
> drivers/net/intel/ice/ice_dcf_sched.c | 2 ++
> 1 file changed, 2 insertions(+)
>
Acked-by: Bruce Richardson <[email protected]>
- [PATCH 0/8] net/ice: fix DCF memory leaks Anurag Mandal
- [PATCH 1/8] net/ice: fix DCF hardware init error pat... Anurag Mandal
- Re: [PATCH 1/8] net/ice: fix DCF hardware init e... Bruce Richardson
- [PATCH 3/8] net/ice: fix DCF queue config buffer lea... Anurag Mandal
- [PATCH 6/8] net/ice: fix DCF TM config leak on close Anurag Mandal
- Re: [PATCH 6/8] net/ice: fix DCF TM config leak ... Bruce Richardson
- [PATCH 4/8] net/ice: fix DCF QoS buffer leak on comm... Anurag Mandal
- Re: [PATCH 4/8] net/ice: fix DCF QoS buffer leak... Bruce Richardson
- [PATCH 5/8] net/ice: fix DCF QoS bandwidth replay co... Anurag Mandal
- Re: [PATCH 5/8] net/ice: fix DCF QoS bandwidth r... Bruce Richardson
- [PATCH 7/8] net/ice: fix DCF representor info leak o... Anurag Mandal
- Re: [PATCH 7/8] net/ice: fix DCF representor inf... Bruce Richardson
- [PATCH v2 0/8] net/ice: fix DCF memory leaks Anurag Mandal
- [PATCH v2 4/8] net/ice: fix DCF QoS buffer leak ... Anurag Mandal
- [PATCH v2 2/8] net/ice: fix DCF parent adapter i... Anurag Mandal
- [PATCH v2 3/8] net/ice: fix DCF queue config buf... Anurag Mandal
- [PATCH v2 8/8] net/ice: fix DCF port leak on pro... Anurag Mandal
- [PATCH v2 6/8] net/ice: fix DCF TM config leak o... Anurag Mandal

