aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/dhcp/dhcp6_proxy_node.c
diff options
context:
space:
mode:
authorOle Troan <ot@cisco.com>2018-11-29 12:39:41 +0100
committerDamjan Marion <dmarion@me.com>2018-11-29 21:54:06 +0000
commite87865dd85ea66796064493b1a6302ccdeade42a (patch)
treeff795b026e66cb855ec3f315fe407711a022d232 /src/vnet/dhcp/dhcp6_proxy_node.c
parent6ccc6e91648312cc210e9b6a18e469e64f4a523f (diff)
DHCP: Initialise trace for copied buffers.
DHCP tests failed intermittantly with a core dump. Let's see if this fixes it. Change-Id: I42829a2c7e7f5a9a6775330d37bf972ff0008210 Signed-off-by: Ole Troan <ot@cisco.com>
Diffstat (limited to 'src/vnet/dhcp/dhcp6_proxy_node.c')
-rw-r--r--src/vnet/dhcp/dhcp6_proxy_node.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vnet/dhcp/dhcp6_proxy_node.c b/src/vnet/dhcp/dhcp6_proxy_node.c
index 34454d6bd56..432bc8dbe68 100644
--- a/src/vnet/dhcp/dhcp6_proxy_node.c
+++ b/src/vnet/dhcp/dhcp6_proxy_node.c
@@ -440,6 +440,8 @@ dhcpv6_proxy_to_server_input (vlib_main_t * vm,
u32 ci0;
c0 = vlib_buffer_copy (vm, b0);
+ vlib_buffer_copy_trace_flag (vm, c0, bi0);
+ VLIB_BUFFER_TRACE_TRAJECTORY_INIT (c0);
ci0 = vlib_get_buffer_index (vm, c0);
server = &proxy->dhcp_servers[ii];