From c2c090a4e36e5015fb806e8233f3e57275b60147 Mon Sep 17 00:00:00 2001 From: Neale Ranns Date: Wed, 10 Jul 2019 01:47:15 -0700 Subject: ip: Punt node does not free iovecs Type: fix Fixes: f7a55ad74c Change-Id: Ic3474e746887f880a8f6246bebc399715bac8e80 Signed-off-by: Neale Ranns (cherry picked from commit 13a6ddf353261fd0439646b71c832f4f44c9de71) --- src/vnet/ip/punt.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/vnet/ip/punt.h') diff --git a/src/vnet/ip/punt.h b/src/vnet/ip/punt.h index 0518b2b91ef..2d7a0f84665 100644 --- a/src/vnet/ip/punt.h +++ b/src/vnet/ip/punt.h @@ -69,6 +69,11 @@ typedef struct struct sockaddr_un caddr; } punt_client_t; +typedef struct punt_thread_data_t_ +{ + struct iovec *iovecs; +} punt_thread_data_t; + typedef struct { int socket_fd; @@ -80,6 +85,7 @@ typedef struct vlib_node_t *interface_output_node; u32 *ready_fds; u32 *rx_buffers; + punt_thread_data_t *thread_data; } punt_main_t; extern punt_main_t punt_main; -- cgit 1.2.3-korg