examples/ipsec-secgw: fix unchecked return value
authorBernard Iremonger <bernard.iremonger@intel.com>
Wed, 7 Aug 2019 12:30:12 +0000 (13:30 +0100)
committerAkhil Goyal <akhil.goyal@nxp.com>
Wed, 9 Oct 2019 09:50:12 +0000 (11:50 +0200)
commit23742f21f74a9d8380367c39b8ee4561e6dd1526
tree233664b43ee9d31e461d5c0360d978969adc3087
parent2097255731d5d3724063e9acf18b23bcbe4b7bac
examples/ipsec-secgw: fix unchecked return value

Check the return value of the rte_eth_dev_rss_hash_conf_get function.

Coverity issue: 344970
Fixes: 3a690d5a65e2 ("examples/ipsec-secgw: fix first packet with inline crypto")
Cc: stable@dpdk.org
Signed-off-by: Bernard Iremonger <bernard.iremonger@intel.com>
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
examples/ipsec-secgw/ipsec.c