Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
87460d0
)
vxlan:decap caching error (VPP-1462)
49/15349/1
author
Eyal Bari
<ebari@cisco.com>
Wed, 17 Oct 2018 14:13:42 +0000
(17:13 +0300)
committer
John Lo
<loj@cisco.com>
Wed, 17 Oct 2018 15:46:29 +0000
(15:46 +0000)
Change-Id: I3ef0725684bcb8ea526abe0ce62562b35a0070f5
Signed-off-by: Eyal Bari <ebari@cisco.com>
(cherry picked from commit
0d87894bf279a4678cfca6cc438583090b166f85
)
src/vnet/vxlan/decap.c
patch
|
blob
|
history
diff --git
a/src/vnet/vxlan/decap.c
b/src/vnet/vxlan/decap.c
index
387539d
..
b84a9b6
100644
(file)
--- 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 };