summaryrefslogtreecommitdiffstats
path: root/src/vnet/hash/crc32_5tuple.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/hash/crc32_5tuple.c')
-rw-r--r--src/vnet/hash/crc32_5tuple.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/vnet/hash/crc32_5tuple.c b/src/vnet/hash/crc32_5tuple.c
index 69ee63a59df..29d92a96938 100644
--- a/src/vnet/hash/crc32_5tuple.c
+++ b/src/vnet/hash/crc32_5tuple.c
@@ -80,7 +80,7 @@ vnet_crc32c_5tuple_ip_func (void **p, u32 *hash, u32 n_packets)
while (n_left_from >= 8)
{
- crc32c_5tuple_key_t key[4];
+ crc32c_5tuple_key_t key[4] = {};
clib_prefetch_load (p[4]);
clib_prefetch_load (p[5]);
@@ -104,7 +104,7 @@ vnet_crc32c_5tuple_ip_func (void **p, u32 *hash, u32 n_packets)
while (n_left_from > 0)
{
- crc32c_5tuple_key_t key;
+ crc32c_5tuple_key_t key = {};
compute_ip_key (p[0], &key);
@@ -158,7 +158,7 @@ vnet_crc32c_5tuple_ethernet_func (void **p, u32 *hash, u32 n_packets)
while (n_left_from >= 8)
{
- crc32c_5tuple_key_t key[4];
+ crc32c_5tuple_key_t key[4] = {};
clib_prefetch_load (p[4]);
clib_prefetch_load (p[5]);
@@ -182,7 +182,7 @@ vnet_crc32c_5tuple_ethernet_func (void **p, u32 *hash, u32 n_packets)
while (n_left_from > 0)
{
- crc32c_5tuple_key_t key;
+ crc32c_5tuple_key_t key = {};
compute_ethernet_key (p[0], &key);