numam-dpdk/drivers/net/bnxt
Ajit Khaparde 063e59ddd2 net/bnxt: fix crash in xstats get
We would hit a segfault in bnxt_dev_xstats_get_op() if xstats argument
is NULL, Check if the argument is NULL and return appropriately.

Fixes: bfb9c2260b ("net/bnxt: support xstats get/reset")
Cc: stable@dpdk.org

Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
Reviewed-by: Andy Gospodarek <gospo@broadcom.com>
2019-11-20 17:36:05 +01:00
..
bnxt_cpr.c net/bnxt: cleanup comments 2019-10-23 16:43:09 +02:00
bnxt_cpr.h net/bnxt: support hot firmware upgrade for Stingray 2019-10-08 12:14:30 +02:00
bnxt_ethdev.c net/bnxt: limit queue count for NS3/Stingray devices 2019-11-20 17:36:05 +01:00
bnxt_filter.c net/bnxt: fix initialization 2019-11-08 23:15:04 +01:00
bnxt_filter.h net/bnxt: fix initialization 2019-11-08 23:15:04 +01:00
bnxt_flow.c net/bnxt: fix flow creation with non-consecutive group ids 2019-11-20 17:36:05 +01:00
bnxt_hwrm.c net/bnxt: fix Rx queue start/stop for Thor based NICs 2019-11-08 23:15:04 +01:00
bnxt_hwrm.h net/bnxt: fix setting max RSS contexts 2019-10-25 19:23:22 +02:00
bnxt_irq.c net/bnxt: add more checks during firmware reset 2019-10-25 19:23:23 +02:00
bnxt_irq.h net/bnxt: change MSI-X vector to queue mapping 2019-10-23 16:43:08 +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: fix initialization 2019-11-08 23:15:04 +01:00
bnxt_ring.h net/bnxt: fix initialization 2019-11-08 23:15:04 +01:00
bnxt_rxq.c net/bnxt: fix flow creation with non-consecutive group ids 2019-11-20 17:36:05 +01:00
bnxt_rxq.h net/bnxt: use common NQ ring 2019-10-08 12:14:32 +02:00
bnxt_rxr.c net/bnxt: fix L4 checksum indication in non-vector Rx 2019-11-08 23:15:04 +01:00
bnxt_rxr.h net/bnxt: support LRO on Thor adapters 2019-10-08 12:14:32 +02:00
bnxt_rxtx_vec_sse.c net/bnxt: improve CPR handling in vector path 2019-10-08 12:14:32 +02:00
bnxt_stats.c net/bnxt: fix crash in xstats get 2019-11-20 17:36:05 +01:00
bnxt_stats.h ethdev: make stats and xstats reset callbacks return int 2019-10-07 15:00:54 +02:00
bnxt_txq.c net/bnxt: limit queue count for NS3/Stingray devices 2019-11-20 17:36:05 +01:00
bnxt_txq.h net/bnxt: use common NQ ring 2019-10-08 12:14:32 +02:00
bnxt_txr.c net/bnxt: remove redundant header file inclusion 2019-10-23 16:43:08 +02:00
bnxt_txr.h net/bnxt: prevent device access when device is in reset 2019-10-08 12:14:30 +02:00
bnxt_util.c net/bnxt: fix VF probe when MAC address is zero 2019-07-23 14:31:35 +02:00
bnxt_util.h net/bnxt: use macro for bit definitions 2019-10-08 12:14:30 +02:00
bnxt_vnic.c net/bnxt: fix RSS table update for start/stop Rx queue 2019-11-08 23:15:04 +01:00
bnxt_vnic.h net/bnxt: fix initialization 2019-11-08 23:15:04 +01:00
bnxt.h net/bnxt: limit queue count for NS3/Stingray devices 2019-11-20 17:36:05 +01:00
hsi_struct_def_dpdk.h net/bnxt: update HWRM API to version 1.10.1.6 2019-10-25 19:23:22 +02:00
Makefile net/bnxt: implement SSE vector mode 2019-06-13 23:37:58 +09:00
meson.build net/bnxt: implement SSE vector mode 2019-06-13 23:37:58 +09: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: check status of getting ethdev info 2019-10-07 14:45:35 +02:00
rte_pmd_bnxt.h net: add rte prefix to ether structures 2019-05-24 13:34:45 +02:00