[PATCH 3/8] net/ice: fix DCF queue config buffer leak
Bruce Richardson
bruce.richardson at intel.com
Fri Nov 6 12:59:00 CET 2026
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: stable at dpdk.org
>
> Signed-off-by: Anurag Mandal <anurag.mandal at intel.com>
> ---
> drivers/net/intel/ice/ice_dcf.c | 2 ++
> 1 file changed, 2 insertions(+)
>
Acked-by: Bruce Richardson <bruce.richardson at intel.com>
More information about the stable
mailing list