numam-dpdk/lib
David Marchand cd7bb0d442 ethdev: add a check on mempool during RxQ setup
We currently have no check on the mempool pointer passed to
rte_eth_rx_queue_setup.
Let's avoid a plain crash when dereferencing it.

Suggested-by: Jens Freimann <jfreimann@redhat.com>
Signed-off-by: David Marchand <david.marchand@redhat.com>
Reviewed-by: Jens Freimann <jfreimann@redhat.com>
Acked-by: Andrew Rybchenko <arybchenko@solarflare.com>
2019-06-13 23:54:29 +09:00
..
librte_acl acl: fix build with some arm64 compiler 2019-06-12 00:07:13 +09:00
librte_bbdev doc: fix spelling reported by aspell in comments 2019-05-03 00:38:14 +02:00
librte_bitratestats bitrate: fix unchecked return value 2019-04-23 00:19:06 +02:00
librte_bpf bpf: fix pseudo calls for program loaded from ELF 2019-06-05 18:34:56 +02:00
librte_cfgfile cfgfile: replace strcat with strlcat 2019-04-05 14:48:15 +02:00
librte_cmdline replace snprintf with strlcpy without adding extra include 2019-04-04 22:45:54 +02:00
librte_compressdev replace snprintf with strlcpy 2019-04-04 22:46:05 +02:00
librte_cryptodev doc: fix spelling reported by aspell in comments 2019-05-03 00:38:14 +02:00
librte_distributor doc: fix spelling reported by aspell in comments 2019-05-03 00:38:14 +02:00
librte_eal eal/x86: force inlining of all memcpy and mov helpers 2019-06-13 23:54:29 +09:00
librte_efd doc: fix spelling reported by aspell in comments 2019-05-03 00:38:14 +02:00
librte_ethdev ethdev: add a check on mempool during RxQ setup 2019-06-13 23:54:29 +09:00
librte_eventdev net: replace IPv4/v6 constants with uppercase name 2019-06-03 16:54:54 +02:00
librte_flow_classify doc: fix spelling reported by aspell in comments 2019-05-03 00:38:14 +02:00
librte_gro net: add rte prefix to UDP structure 2019-05-24 13:34:46 +02:00
librte_gso net: add rte prefix to UDP structure 2019-05-24 13:34:46 +02:00
librte_hash hash: simplify signature compare with NEON 2019-06-05 19:49:28 +02:00
librte_ip_frag net: add rte prefix to IP defines 2019-05-24 13:34:46 +02:00
librte_ipsec net: add rte prefix to IP structure 2019-05-24 13:34:46 +02:00
librte_jobstats replace snprintf with strlcpy 2019-04-04 22:46:05 +02:00
librte_kni kni: remove ethtool support 2019-05-29 23:38:45 +02:00
librte_kvargs build: generate Windows exports file 2019-06-05 19:49:28 +02:00
librte_latencystats doc: fix spelling reported by aspell in comments 2019-05-03 00:38:14 +02:00
librte_lpm doc: fix spelling reported by aspell in comments 2019-05-03 00:38:14 +02:00
librte_mbuf ethdev: add API to read device clock 2019-06-06 20:21:20 +09:00
librte_member replace snprintf with strlcpy 2019-04-04 22:46:05 +02:00
librte_mempool doc: fix spelling reported by aspell in comments 2019-05-03 00:38:14 +02:00
librte_meter meter: replace color definitions 2019-04-11 14:27:32 +02:00
librte_metrics
librte_net net: replace IPv4/v6 constants with uppercase name 2019-06-03 16:54:54 +02:00
librte_pci
librte_pdump ipc: handle unsupported IPC in action register 2019-06-05 11:27:36 +02:00
librte_pipeline net: replace IPv4/v6 constants with uppercase name 2019-06-03 16:54:54 +02:00
librte_port net: add rte prefix to IP defines 2019-05-24 13:34:46 +02:00
librte_power power: fix cache line alignment 2019-05-09 21:07:55 +02:00
librte_rawdev doc: fix spelling reported by aspell in comments 2019-05-03 00:38:14 +02:00
librte_rcu rcu: fix format specifier in dump 2019-06-05 14:41:34 +02:00
librte_reorder doc: fix spelling reported by aspell in comments 2019-05-03 00:38:14 +02:00
librte_ring ring: remove unnecessary forward declaration 2019-06-04 13:09:51 +02:00
librte_sched doc: fix spelling reported by aspell in comments 2019-05-03 00:38:14 +02:00
librte_security doc: fix spelling reported by aspell in comments 2019-05-03 00:38:14 +02:00
librte_stack replace snprintf with strlcpy 2019-04-04 22:46:05 +02:00
librte_table doc: fix spelling reported by aspell in comments 2019-05-03 00:38:14 +02:00
librte_telemetry
librte_timer doc: fix doxygen for timer API 2019-05-13 18:43:10 +02:00
librte_vhost vhost: simplify descriptor buffer prefetching 2019-06-13 23:54:29 +09:00
Makefile rcu: add RCU library supporting QSBR mechanism 2019-05-02 01:32:41 +02:00
meson.build build: generate Windows exports file 2019-06-05 19:49:28 +02:00