On Thu, Nov 05, 2026 at 09:47:23AM +0000, Anurag Mandal wrote:
> ice_dcf_uninit_hw() releases the TM nodes and shaper profiles only
> when the hierarchy gets committed.
> If the application adds nodes or profiles but never commits them,
> or the commit fails without clearing them, they leak on close and
> reset.
>
> Only clearing the bandwidth needs a committed hierarchy,
> so releasing the TM config whenever QoS is supported.
>
> Fixes: 775a25a372f5 ("net/ice: clear QoS bandwidth on DCF close")
> Cc: [email protected]
>
> Signed-off-by: Anurag Mandal <[email protected]>
> ---
> drivers/net/intel/ice/ice_dcf.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
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

