diff options
author | Eyal Bari <ebari@cisco.com> | 2018-10-17 17:13:42 +0300 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2018-10-17 15:12:17 +0000 |
commit | 0d87894bf279a4678cfca6cc438583090b166f85 (patch) | |
tree | a34bbc3f9b6c040f661210a9e6e0e86204206ef6 /src | |
parent | 44c6e1d1880513e6e02612509f27b24da04bb5b3 (diff) |
vxlan:decap caching error (VPP-1462)
Change-Id: I3ef0725684bcb8ea526abe0ce62562b35a0070f5
Signed-off-by: Eyal Bari <ebari@cisco.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/vnet/vxlan/decap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/vxlan/decap.c b/src/vnet/vxlan/decap.c index 387539d8f4a..b84a9b6eb56 100644 --- a/src/vnet/vxlan/decap.c +++ b/src/vnet/vxlan/decap.c @@ -91,7 +91,7 @@ vxlan4_find_tunnel (vxlan_main_t * vxm, last_tunnel_cache4 * cache, }; if (PREDICT_TRUE - (key4.key[0] == cache->key[0] || key4.key[1] == cache->key[1])) + (key4.key[0] == cache->key[0] && key4.key[1] == cache->key[1])) { /* cache hit */ vxlan_decap_info_t di = {.as_u64 = cache->value }; |