[PATCH] net/fm10k: fix cleanup during init failure

Bruce Richardson bruce.richardson at intel.com
Thu Apr 4 12:18:16 CEST 2024


On Wed, Apr 03, 2024 at 01:55:41PM +0200, Julien Meunier wrote:
> Cleanup was not done on this PMD if a error is seen during the init:
> - possible memory leak due to a missing free
> - interrupt handler was not disabled: if an IRQ is received after the
>   init, a SIGSEGV can be seen (private data stored in
>   rte_eth_devices[port_id] is pointing to NULL)
> 
> Fixes: a6061d9e7075 ("fm10k: register PF driver")
> Fixes: 4c287332c39a ("fm10k: add PF and VF interrupt handling")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Julien Meunier <julien.meunier at nokia.com>

Changes LGTM

Reviewed-by: Bruce Richardson <bruce.richardson at intel.com>


More information about the stable mailing list