examples/ipsec-secgw: check event adapter errors
authorAnkur Dwivedi <adwivedi@marvell.com>
Fri, 17 Apr 2020 15:41:55 +0000 (21:11 +0530)
committerAkhil Goyal <akhil.goyal@nxp.com>
Sun, 19 Apr 2020 15:15:14 +0000 (17:15 +0200)
commitf5ad5016869b06aa6e03dc1e38dcf8e4d1c733bf
tree7dcd5741ea3b3410199cb88c413dcb16dcc37b01
parentab722af65d70cc75196d3fdacdc417a371d2e58a
examples/ipsec-secgw: check event adapter errors

The return values of functions are checked before proceeding further.

Coverity issue: 355670, 355671, 355672, 355673
Fixes: 1d89ccf32301 ("examples/ipsec-secgw: support event Tx adapter")

Signed-off-by: Ankur Dwivedi <adwivedi@marvell.com>
Acked-by: Anoob Joseph <anoobj@marvell.com>
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
examples/ipsec-secgw/event_helper.c