[dpdk-dev] [PATCH 1/1] net/bnx2x: fix segfaults due to stale interrupt status
Ferruh Yigit
ferruh.yigit at intel.com
Mon Feb 25 15:47:14 CET 2019
On 2/21/2019 7:24 PM, Shahed Shaikh wrote:
> Previous ungraceful exit may leave behind un-acked stale
> interrupts for slowpath and fastpath.
>
> Interrupt status polling function is started before FLR is
> initiated, so we don't have a real way to protect this polling
> function invoking an interrupt handler caused due to stale
> interrupt status from previous ungraceful exit.
>
> So, check uninitialized status block variables in interrupt
> handling path which may lead to sefault.
>
> Fixes: 540a211084a7 ("bnx2x: driver core")
> Cc: stable at dpdk.org
>
> Signed-off-by: Shahed Shaikh <shshaikh at marvell.com>
Applied to dpdk-next-net/master, thanks.
More information about the dev
mailing list