diff options
author | Neale Ranns <nranns@cisco.com> | 2019-07-10 01:47:15 -0700 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2019-07-11 17:21:14 +0000 |
commit | 39040a619af4e8750349edba2e93eecb8ce4538b (patch) | |
tree | 0886e63d659fcdb39ebfad8deed5bec6058f2892 /src/vnet/ip/punt.c | |
parent | a4d2431594e492c3243f97881fb3ba66e3b4fd76 (diff) |
ip: Punt node does not free iovecs
Type: fix
Fixes: f7a55ad74c
Change-Id: Ic3474e746887f880a8f6246bebc399715bac8e80
Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src/vnet/ip/punt.c')
-rw-r--r-- | src/vnet/ip/punt.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vnet/ip/punt.c b/src/vnet/ip/punt.c index a979803bc1c..a3c7ecaf8a1 100644 --- a/src/vnet/ip/punt.c +++ b/src/vnet/ip/punt.c @@ -763,6 +763,7 @@ ip_punt_init (vlib_main_t * vm) { clib_error_t *error = NULL; punt_main_t *pm = &punt_main; + vlib_thread_main_t *tm = vlib_get_thread_main (); pm->is_configured = false; pm->interface_output_node = @@ -773,6 +774,9 @@ ip_punt_init (vlib_main_t * vm) pm->hdl = vlib_punt_client_register ("ip-punt"); + vec_validate_aligned (pm->thread_data, tm->n_vlib_mains, + CLIB_CACHE_LINE_BYTES); + return (error); } |