numam-dpdk/app
Bruce Richardson 17250a2aff app/testpmd: fix variable use before null check
The value returned from rte_eth_dev_tx_offload_name() function is used
for string comparison before being checked for NULL. Move the NULL check
up to be done first.

Coverity issue: 279438
Fixes: c73a907187 ("app/testpmd: add commands to test new offload API")
Cc: stable@dpdk.org

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Rami Rosen <ramirose@gmail.com>
2019-04-23 00:15:10 +02:00
..
pdump app/pdump: support multi-core capture 2019-04-22 21:45:16 +02:00
proc-info eal: promote some experimental functions as stable 2019-04-21 19:11:37 +02:00
test test/power: check all environment types 2019-04-22 22:46:13 +02:00
test-acl replace snprintf with strlcpy 2019-04-04 22:46:05 +02:00
test-bbdev app/bbdev: replace sprintf with snprintf or strlcpy 2019-04-22 21:32:10 +02:00
test-cmdline app/cmdline: move from test directory 2019-02-26 15:24:11 +01:00
test-compress-perf app/compress-perf: add incompressible data handling 2019-04-02 16:50:24 +02:00
test-crypto-perf app/crypto-perf: check range of socket id 2019-04-18 16:01:28 +02:00
test-eventdev eventdev: promote adapter functions as stable 2019-04-22 13:20:33 +02:00
test-pipeline app/pipeline: fix dependency for FreeBSD 2019-03-27 01:02:45 +01:00
test-pmd app/testpmd: fix variable use before null check 2019-04-23 00:15:10 +02:00
Makefile test: move to app directory 2019-02-26 15:29:27 +01:00
meson.build build: increase readability via shortcut variables 2019-04-17 18:09:52 +02:00