diff options
author | Klement Sekera <ksekera@cisco.com> | 2019-08-27 09:20:33 +0000 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2019-09-25 22:05:36 +0000 |
commit | 41fd164872a9002eb73eb2c2c2b92a5d2f1d8451 (patch) | |
tree | a91d5fc3c1682a94997426504b62b490350fd376 | |
parent | 6f8097ba6e402a77c55d25852e76b7cba9c3b6a1 (diff) |
ip: reassembly: remove unnecessary code
Type: refactor
Change-Id: I30cb324006c3c6ab88d01c044cf80fab3a34f13a
Signed-off-by: Klement Sekera <ksekera@cisco.com>
(cherry picked from commit 8e9e0eccb280619f10d287dad3f79541ade03adc)
-rw-r--r-- | src/vnet/ip/ip4_reassembly.c | 3 | ||||
-rw-r--r-- | src/vnet/ip/ip6_reassembly.c | 3 |
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); |