numam-dpdk/drivers/net/bnxt
Rahul Gupta f7b36e8f36 net/bnxt: validate structs and pointers before use
Validate pointers aren't pointing to uninitialized areas
including txq and rxq before using them to avoid
bnxt driver from crashing.

Signed-off-by: Rahul Gupta <rahul.gupta@broadcom.com>
Signed-off-by: Jay Ding <jay.ding@broadcom.com>
Signed-off-by: Scott Branden <scott.branden@broadcom.com>
Reviewed-by: Ray Jui <ray.jui@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
Reviewed-by: Randy Schacher <stuart.schacher@broadcom.com>
Tested-by: Randy Schacher <stuart.schacher@broadcom.com>
2018-05-14 22:31:48 +01:00
..
bnxt_cpr.c net/bnxt: cache address of doorbell to subsequent access 2018-04-27 15:54:56 +01:00
bnxt_cpr.h net/bnxt: convert to SPDX license tag 2018-04-14 00:40:21 +02:00
bnxt_ethdev.c net/bnxt: rename driver version from Cumulus to NetXtreme 2018-05-14 22:31:48 +01:00
bnxt_filter.c net/bnxt: rename function checking MAC address 2018-05-14 22:31:48 +01:00
bnxt_filter.h net/bnxt: rename function checking MAC address 2018-05-14 22:31:48 +01:00
bnxt_hwrm.c net/bnxt: avoid invalid vnic id in set L2 Rx mask 2018-04-27 15:54:56 +01:00
bnxt_hwrm.h net/bnxt: add code to determine the Tx COS queue 2018-04-27 15:54:56 +01:00
bnxt_irq.c net/bnxt: convert to SPDX license tag 2018-04-14 00:40:21 +02:00
bnxt_irq.h net/bnxt: convert to SPDX license tag 2018-04-14 00:40:21 +02:00
bnxt_nvm_defs.h net/bnxt: convert to SPDX license tag 2018-04-14 00:40:21 +02:00
bnxt_ring.c net/bnxt: validate structs and pointers before use 2018-05-14 22:31:48 +01:00
bnxt_ring.h net/bnxt: avoid freeing memzone multiple times 2018-04-27 15:54:56 +01:00
bnxt_rxq.c net/bnxt: validate structs and pointers before use 2018-05-14 22:31:48 +01:00
bnxt_rxq.h net/bnxt: avoid freeing memzone multiple times 2018-04-27 15:54:56 +01:00
bnxt_rxr.c net/bnxt: fix mbuf data offset initialization 2018-04-27 15:54:56 +01:00
bnxt_rxr.h net/bnxt: fix Rx checksum flags for tunnel frames 2018-04-27 15:54:55 +01:00
bnxt_stats.c net/bnxt: maintain mbuf alloc failure counter per queue 2018-04-27 15:54:56 +01:00
bnxt_stats.h net/bnxt: convert to SPDX license tag 2018-04-14 00:40:21 +02:00
bnxt_txq.c net/bnxt: validate structs and pointers before use 2018-05-14 22:31:48 +01:00
bnxt_txq.h net/bnxt: remove unused Txq flags 2018-05-14 22:26:36 +01:00
bnxt_txr.c net/bnxt: convert to SPDX license tag 2018-04-14 00:40:21 +02:00
bnxt_txr.h net/bnxt: convert to SPDX license tag 2018-04-14 00:40:21 +02:00
bnxt_vnic.c net/bnxt: convert to SPDX license tag 2018-04-14 00:40:21 +02:00
bnxt_vnic.h net/bnxt: convert to SPDX license tag 2018-04-14 00:40:21 +02:00
bnxt.h net/bnxt: cache address of doorbell to subsequent access 2018-04-27 15:54:56 +01:00
hsi_struct_def_dpdk.h net/bnxt: add code to determine the Tx COS queue 2018-04-27 15:54:56 +01:00
Makefile pci: introduce library and driver 2017-10-26 23:17:31 +02:00
rte_pmd_bnxt_version.map net/bnxt: fix automatic clearing of VF stats 2017-07-06 15:00:57 +02:00
rte_pmd_bnxt.c net/bnxt: convert to SPDX license tag 2018-04-14 00:40:21 +02:00
rte_pmd_bnxt.h net/bnxt: convert to SPDX license tag 2018-04-14 00:40:21 +02:00