On Thu, Nov 05, 2026 at 09:47:20AM +0000, Anurag Mandal wrote:
> ice_dcf_configure_queues() returns -EINVAL without
> freeing the virtchnl message it allocated when the
> required Rx descriptor ID (RXDID) is not supported,
> so the message leaks on each failed port start.
>
> Free it before return.
>
> Fixes: 4b0d391f0eab ("net/ice: add queue config in DCF")
> Fixes: f3fddc93de16 ("net/ice: fix build with 16-byte Rx descriptor in DCF")
> Cc: [email protected]
>
> Signed-off-by: Anurag Mandal <[email protected]>
> ---
> drivers/net/intel/ice/ice_dcf.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
- Re: [PATCH 3/8] net/ice: fix DCF queue config bu... Bruce Richardson
- [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

