app/testpmd: move conntrack update after null check
authorThierry Herbelot <thierry.herbelot@6wind.com>
Mon, 24 May 2021 09:01:44 +0000 (11:01 +0200)
committerAndrew Rybchenko <Andrew.Rybchenko@oktetlabs.ru>
Fri, 2 Jul 2021 17:03:03 +0000 (19:03 +0200)
commit355a3c96235d6e24b03207ea141ddd5cacda36f1
treeed0b2b0e91a56b88ae4362d73057abd0d1986707
parent23e317dd1fbf81bbfb542523e2628e8ed33654d1
app/testpmd: move conntrack update after null check

Use out only after it was checked not to be null.

Fixes: 4d07cbefe3ba0 ("app/testpmd: add commands for conntrack")
Cc: stable@dpdk.org
Signed-off-by: Thierry Herbelot <thierry.herbelot@6wind.com>
Reviewed-by: Bing Zhao <bingz@nvidia.com>
Acked-by: Aman Deep Singh <aman.deep.singh@intel.com>
app/test-pmd/cmdline_flow.c