aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKlement Sekera <ksekera@cisco.com>2019-02-19 11:28:47 +0100
committerDamjan Marion <dmarion@me.com>2019-02-19 11:50:24 +0000
commitbe30fea370ed7cfe6a4a1b154a944411ec3eabd0 (patch)
tree40a958ae23190087779bbf92de80ba9ba8c308c0 /src
parent34e823ff9d17948d89db457ec8763a2a3b398adc (diff)
VPP-1573 fix crash in ip6 reassembly
Change-Id: I3a3076c7d87446b5ec2a02e70d3b6d05f1875875 Signed-off-by: Klement Sekera <ksekera@cisco.com>
Diffstat (limited to 'src')
-rw-r--r--src/vnet/ip/ip6_reassembly.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/ip/ip6_reassembly.c b/src/vnet/ip/ip6_reassembly.c
index ab5b42a2f00..d78c3ff91bf 100644
--- a/src/vnet/ip/ip6_reassembly.c
+++ b/src/vnet/ip/ip6_reassembly.c
@@ -770,6 +770,7 @@ ip6_reass_update (vlib_main_t * vm, vlib_node_runtime_t * node,
}
*next0 = IP6_REASSEMBLY_NEXT_DROP;
*error0 = IP6_ERROR_REASS_OVERLAPPING_FRAGMENT;
+ return IP6_REASS_RC_OK;
}
break;
}
@@ -795,7 +796,6 @@ ip6_reass_update (vlib_main_t * vm, vlib_node_runtime_t * node,
else
{
*next0 = IP6_REASSEMBLY_NEXT_DROP;
- ;
*error0 = IP6_ERROR_REASS_DUPLICATE_FRAGMENT;
}
}