numam-dpdk/drivers/net/bnx2x
Shahed Shaikh 797ed9916a net/bnx2x: fix segfaults due to stale interrupt status
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 segfault.

Fixes: 540a211084 ("bnx2x: driver core")
Cc: stable@dpdk.org

Signed-off-by: Shahed Shaikh <shshaikh@marvell.com>
2019-03-01 18:17:35 +01:00
..
bnx2x_ethdev.c net/bnx2x: cleanup info logs 2018-12-13 16:31:06 +00:00
bnx2x_ethdev.h net/bnx2x: cleanup info logs 2018-12-13 16:31:06 +00:00
bnx2x_logs.h net/bnx2x: fix dynamic logging 2018-11-14 00:35:53 +01:00
bnx2x_rxtx.c ethdev: rename memzones allocated for DMA 2018-10-17 10:26:59 +02:00
bnx2x_rxtx.h net/bnx2x: move SPDX tags to source files 2018-08-03 17:08:39 +02:00
bnx2x_stats.c net/bnx2x: fix logging to include device name 2018-10-11 18:53:48 +02:00
bnx2x_stats.h net/bnx2x: move SPDX tags to source files 2018-08-03 17:08:39 +02:00
bnx2x_vfpf.c net/bnx2x: fix logging to include device name 2018-10-11 18:53:48 +02:00
bnx2x_vfpf.h net/bnx2x: move SPDX tags to source files 2018-08-03 17:08:39 +02:00
bnx2x.c net/bnx2x: fix segfaults due to stale interrupt status 2019-03-01 18:17:35 +01:00
bnx2x.h net/bnx2x: cleanup info logs 2018-12-13 16:31:06 +00:00
ecore_fw_defs.h net/bnx2x: move SPDX tags to source files 2018-08-03 17:08:39 +02:00
ecore_hsi.h net/bnx2x: update link/PHY management 2018-10-11 18:53:48 +02:00
ecore_init_ops.h net/bnx2x: fix logging to include device name 2018-10-11 18:53:48 +02:00
ecore_init.h net/bnx2x: fix logging to include device name 2018-10-11 18:53:48 +02:00
ecore_mfw_req.h net/bnx2x: move SPDX tags to source files 2018-08-03 17:08:39 +02:00
ecore_reg.h net/bnx2x: fix to add PHY lock 2018-10-11 18:53:48 +02:00
ecore_sp.c net/bnx2x: cleanup info logs 2018-12-13 16:31:06 +00:00
ecore_sp.h net/bnx2x: fix logging to include device name 2018-10-11 18:53:48 +02:00
elink.c net/bnx2x: remove profanity 2018-10-18 10:24:39 +02:00
elink.h net/bnx2x: update link/PHY management 2018-10-11 18:53:48 +02:00
Makefile net/bnx2x: move SPDX tags to source files 2018-08-03 17:08:39 +02:00
meson.build build: improve dependency handling 2019-02-27 12:13:54 +01:00
rte_pmd_bnx2x_version.map bnx2x: driver support routines 2015-07-27 04:27:10 +02:00