summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKlement Sekera <ksekera@cisco.com>2019-08-27 09:20:33 +0000
committerDamjan Marion <dmarion@me.com>2019-08-27 13:23:31 +0000
commit8e9e0eccb280619f10d287dad3f79541ade03adc (patch)
tree5851c809b3db96c655162ca8d747f2c4fa9141c0 /src
parent2959d42feb576c0e00c28c4e27658b25f6c783e9 (diff)
ip: reassembly: remove unnecessary code
Type: refactor Change-Id: I30cb324006c3c6ab88d01c044cf80fab3a34f13a Signed-off-by: Klement Sekera <ksekera@cisco.com>
Diffstat (limited to 'src')
-rw-r--r--src/vnet/ip/ip4_reassembly.c3
-rw-r--r--src/vnet/ip/ip6_reassembly.c3
2 files changed, 0 insertions, 6 deletions
diff --git a/src/vnet/ip/ip4_reassembly.c b/src/vnet/ip/ip4_reassembly.c
index 7159b8a5232..59170354412 100644
--- a/src/vnet/ip/ip4_reassembly.c
+++ b/src/vnet/ip/ip4_reassembly.c
@@ -405,9 +405,6 @@ ip4_reass_drop_all (vlib_main_t * vm, vlib_node_runtime_t * node,
to_next[0] = bi;
to_next += 1;
n_left_to_next -= 1;
- vlib_validate_buffer_enqueue_x1 (vm, node, next_index,
- to_next, n_left_to_next,
- bi, next_index);
}
}
vlib_put_next_frame (vm, node, next_index, n_left_to_next);
diff --git a/src/vnet/ip/ip6_reassembly.c b/src/vnet/ip/ip6_reassembly.c
index 80a9eb8bae4..a5e106a9445 100644
--- a/src/vnet/ip/ip6_reassembly.c
+++ b/src/vnet/ip/ip6_reassembly.c
@@ -388,9 +388,6 @@ ip6_reass_drop_all (vlib_main_t * vm, vlib_node_runtime_t * node,
to_next[0] = bi;
to_next += 1;
n_left_to_next -= 1;
- vlib_validate_buffer_enqueue_x1 (vm, node, next_index,
- to_next, n_left_to_next,
- bi, next_index);
}
}
vlib_put_next_frame (vm, node, next_index, n_left_to_next);