summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/vnet/ip/vtep.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vnet/ip/vtep.h b/src/vnet/ip/vtep.h
index 0fdc4c5a346..4cb06122f46 100644
--- a/src/vnet/ip/vtep.h
+++ b/src/vnet/ip/vtep.h
@@ -130,11 +130,11 @@ vtep4_check_vector (vtep_table_t * t, vlib_buffer_t * b0, ip4_header_t * ip40,
#ifdef CLIB_HAVE_VEC512
u64x8 k4_u64x8 = u64x8_splat (k4.as_u64);
- u64x8 cache = u64x8_load_aligned (vtep4_u512->vtep4_cache);
+ u64x8 cache = u64x8_load_unaligned (vtep4_u512->vtep4_cache);
u8 result = u64x8_mask_is_equal (cache, k4_u64x8);
if (PREDICT_TRUE (result != 0))
{
- k4.as_u64 =
+ last_k4->as_u64 =
vtep4_u512->vtep4_cache[count_trailing_zeros (result)].as_u64;
return VTEP_CHECK_PASS_UNCHANGED;
}