Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(from parent 1:
8797168
)
buffer trace is broken in ipsec-output. copy it from node->flags to frame->frame_flags
31/15231/2
author
Kingwel Xie
<kingwel.xie@ericsson.com>
Thu, 11 Oct 2018 01:03:10 +0000
(21:03 -0400)
committer
Damjan Marion
<dmarion@me.com>
Thu, 25 Oct 2018 10:10:14 +0000
(10:10 +0000)
Change-Id: I56b573b5da04a27766bcbcafbd5438555424f2e7
Signed-off-by: Kingwel Xie <kingwel.xie@ericsson.com>
src/vnet/ipsec/ipsec_output.c
patch
|
blob
|
history
diff --git
a/src/vnet/ipsec/ipsec_output.c
b/src/vnet/ipsec/ipsec_output.c
index
3a20d51
..
e020f2a
100644
(file)
--- a/
src/vnet/ipsec/ipsec_output.c
+++ b/
src/vnet/ipsec/ipsec_output.c
@@
-385,6
+385,11
@@
ipsec_output_inline (vlib_main_t * vm, vlib_node_runtime_t * node,
last_next_node_index = next_node_index;
f = vlib_get_frame_to_node (vm, next_node_index);
+
+ /* frame->frame_flags, copy it from node */
+ /* Copy trace flag from next_frame and from runtime. */
+ f->frame_flags |= node->flags & VLIB_NODE_FLAG_TRACE;
+
to_next = vlib_frame_vector_args (f);
}