diff options
Diffstat (limited to 'src/vnet')
-rw-r--r-- | src/vnet/policer/police_inlines.h | 2 | ||||
-rw-r--r-- | src/vnet/tcp/tcp_output.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/vnet/policer/police_inlines.h b/src/vnet/policer/police_inlines.h index 6b0c0ecf725..08000b9a303 100644 --- a/src/vnet/policer/police_inlines.h +++ b/src/vnet/policer/police_inlines.h @@ -123,7 +123,7 @@ policer_handoff (vlib_main_t *vm, vlib_node_runtime_t *node, u32 n_enq, n_left_from, *from; vnet_policer_main_t *pm; policer_t *policer; - u32 this_thread, policer_thread; + u32 this_thread, policer_thread = 0; bool single_policer_node = (policer_index != ~0); pm = &vnet_policer_main; diff --git a/src/vnet/tcp/tcp_output.c b/src/vnet/tcp/tcp_output.c index c8e80d06059..aad69df5a76 100644 --- a/src/vnet/tcp/tcp_output.c +++ b/src/vnet/tcp/tcp_output.c @@ -420,7 +420,7 @@ static inline void tcp_make_ack_i (tcp_connection_t * tc, vlib_buffer_t * b, tcp_state_t state, u8 flags) { - tcp_options_t _snd_opts, *snd_opts = &_snd_opts; + tcp_options_t _snd_opts = {}, *snd_opts = &_snd_opts; u8 tcp_opts_len, tcp_hdr_opts_len; tcp_header_t *th; u16 wnd; |