[PATCH] net/fm10k: fix cleanup during init failure
Bruce Richardson
bruce.richardson at intel.com
Thu Apr 4 12:30:28 CEST 2024
On Thu, Apr 04, 2024 at 11:18:16AM +0100, Bruce Richardson wrote:
> 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>
There are CI failures flagged in patchwork, but they appear unrelated to
this patch itself.
Patch applied to dpdk-next-net-intel.
Thanks,
/Bruce
More information about the dev
mailing list