numam-dpdk/drivers/baseband/fpga_lte_fec
Maxime Coquelin 755fb0887f baseband/fpga_lte_fec: fix crash with debug
When RTE_LIBRTE_BBDEV_DEBUG is enabled, rte_device's driver
pointer is dereferenced twice in fpga_lte_fec's probe callback.
It causes a segmentation fault because this pointer is only
assigned after probe callback call.

This patch makes use of rte_pci_driver pointer instead

Fixes: efd453698c ("baseband/fpga_lte_fec: add driver for FEC on FPGA")
Cc: stable@dpdk.org

Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Acked-by: Nicolas Chautru <nicolas.chautru@intel.com>
2020-10-14 21:32:11 +02:00
..
fpga_lte_fec.c baseband/fpga_lte_fec: fix crash with debug 2020-10-14 21:32:11 +02:00
fpga_lte_fec.h baseband/fpga_lte_fec: fix API naming 2020-10-14 21:29:59 +02:00
meson.build build: disable experimental API check internally 2020-04-14 16:22:34 +02:00
rte_pmd_bbdev_fpga_lte_fec_version.map baseband/fpga_lte_fec: fix API naming 2020-10-14 21:29:59 +02:00