aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/gtpu/gtpu_decap.c
diff options
context:
space:
mode:
authorChenmin Sun <chenmin.sun@intel.com>2020-05-09 03:17:54 +0800
committerDave Wallace <dwallacelf@gmail.com>2020-05-09 01:02:22 +0000
commitaa55a926feca1e281494120de5550cbfb32e9d5f (patch)
tree3fdcd7552c576ac884d82d93dc76213d3caf5b1d /src/plugins/gtpu/gtpu_decap.c
parent119286ee5280757ba37985097f29337a3c8cf959 (diff)
gtpu: fix coverity issue
Fix coverity issue #210194 in gtpu-decap Type: fix Signed-off-by: Chenmin Sun <chenmin.sun@intel.com> Change-Id: I5b172c8494527e7117c4e7e7083a8473165aa40f
Diffstat (limited to 'src/plugins/gtpu/gtpu_decap.c')
-rw-r--r--src/plugins/gtpu/gtpu_decap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/gtpu/gtpu_decap.c b/src/plugins/gtpu/gtpu_decap.c
index 5e737d1560f..05c21381d55 100644
--- a/src/plugins/gtpu/gtpu_decap.c
+++ b/src/plugins/gtpu/gtpu_decap.c
@@ -1514,7 +1514,7 @@ trace0:
if (PREDICT_FALSE (t1->decap_next_index != GTPU_INPUT_NEXT_IP4_INPUT) &&
(t1->decap_next_index != GTPU_INPUT_NEXT_IP6_INPUT))
{
- next1 = GTPU_FLOW_ERROR_PAYLOAD_ERROR;
+ error1 = GTPU_FLOW_ERROR_PAYLOAD_ERROR;
next1 = GTPU_INPUT_NEXT_DROP;
goto trace1;
}
@@ -1643,7 +1643,7 @@ trace1:
if (PREDICT_FALSE (t0->decap_next_index != GTPU_INPUT_NEXT_IP4_INPUT) &&
(t0->decap_next_index != GTPU_INPUT_NEXT_IP6_INPUT))
{
- next0 = GTPU_FLOW_ERROR_PAYLOAD_ERROR;
+ error0 = GTPU_FLOW_ERROR_PAYLOAD_ERROR;
next0 = GTPU_INPUT_NEXT_DROP;
goto trace00;
}