diff options
Diffstat (limited to 'src/vnet/ip/reass/ip4_full_reass.c')
-rw-r--r-- | src/vnet/ip/reass/ip4_full_reass.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/vnet/ip/reass/ip4_full_reass.c b/src/vnet/ip/reass/ip4_full_reass.c index b1d8a56fb93..94136ff487c 100644 --- a/src/vnet/ip/reass/ip4_full_reass.c +++ b/src/vnet/ip/reass/ip4_full_reass.c @@ -1233,7 +1233,10 @@ ip4_full_reass_inline (vlib_main_t * vm, vlib_node_runtime_t * node, /* bi0 might have been updated by reass_finalize, reload */ b0 = vlib_get_buffer (vm, bi0); - b0->error = node->errors[error0]; + if (IP4_ERROR_NONE != error0) + { + b0->error = node->errors[error0]; + } if (next0 == IP4_FULL_REASS_NEXT_HANDOFF) { |