Re: [dpdk-dev] [PATCH 4/5] app/testpmd: fix variable use before NULL check

2019-04-05 Thread Rami Rosen
Acked-by: Rami Rosen

[dpdk-dev] [PATCH 4/5] app/testpmd: fix variable use before NULL check

2019-04-05 Thread Bruce Richardson
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: c73a9071877a ("app/testpmd: add commands to test new offload API") Cc: wei@intel.com Cc: sta...@dpd