diff options
author | Florin Coras <fcoras@cisco.com> | 2018-06-20 12:44:16 -0700 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2018-06-21 11:34:49 +0000 |
commit | 4df3871a98e4f06c23e8466eef303adcd1c83953 (patch) | |
tree | ff5719e1cd9c14d33d963bf847752f6f2a011834 /src/vnet/session/session_node.c | |
parent | dd3b8f7ab9f120b92c5fdf26016db47bbe18cb39 (diff) |
tcp: move tracing out of established loop
Change-Id: I4a7e4f616ed4a4df82be3112ac4702f7e4e2025c
Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vnet/session/session_node.c')
-rw-r--r-- | src/vnet/session/session_node.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/session/session_node.c b/src/vnet/session/session_node.c index 1902adc29d5..2297771c5ea 100644 --- a/src/vnet/session/session_node.c +++ b/src/vnet/session/session_node.c @@ -78,11 +78,11 @@ session_tx_trace_frame (vlib_main_t * vm, vlib_node_runtime_t * node, { b = vlib_get_buffer (vm, to_next[i - n_segs]); vlib_trace_buffer (vm, node, next_index, b, 1 /* follow_chain */ ); - vlib_set_trace_count (vm, node, --n_trace); t = vlib_add_trace (vm, node, b, sizeof (*t)); t->session_index = s->session_index; t->server_thread_index = s->thread_index; } + vlib_set_trace_count (vm, node, n_trace - i); } always_inline void |