On Thu, Nov 05, 2026 at 09:47:24AM +0000, Anurag Mandal wrote:
> The representor info array is only freed by ice_dcf_dev_uninit(),
> which runs on device removal.
> Closing the DCF port with rte_eth_dev_close() releases the port
> without freeing it.
> 
> Free it in ice_dcf_dev_close().
> ice_dcf_dev_reset() needs the info to survive, as init notifies
> the representors again, so move the rest of close into
> ice_dcf_dev_teardown() and call that from reset instead.
> 
> Fixes: c7e1a1a3bfeb ("net/ice: refactor DCF VLAN handling")
> Cc: [email protected]
> 
> Signed-off-by: Anurag Mandal <[email protected]>
Acked-by: Bruce Richardson <[email protected]>

Reply via email to