From: Hongjun Ni Date: Mon, 25 Apr 2016 18:15:53 +0000 (-0700) Subject: Fix decap's second-loop failure issue within nsh-vxlan-gpe X-Git-Tag: odp_vpp~1963 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=0371807f7b1213ee474f8850dc85ae5dd0a24532;p=odp4vpp.git Fix decap's second-loop failure issue within nsh-vxlan-gpe Change-Id: I7c5c93b6490baa05b9b203b6d065d9c31f36d531 Signed-off-by: Hongjun Ni --- diff --git a/vnet/vnet/nsh-vxlan-gpe/decap.c b/vnet/vnet/nsh-vxlan-gpe/decap.c index a5a85c60..76003e60 100644 --- a/vnet/vnet/nsh-vxlan-gpe/decap.c +++ b/vnet/vnet/nsh-vxlan-gpe/decap.c @@ -288,9 +288,9 @@ nsh_vxlan_gpe_input (vlib_main_t * vm, nsh_vxlan_gpe_tunnel_t * next_t1; nsh_vxlan_gpe_tunnel_key_t next_key1; - next_key1.src = iuvn0->ip4.dst_address.as_u32; - next_key1.vni = iuvn0->vxlan.vni_res; - next_key1.spi_si = iuvn0->nsh.spi_si; + next_key1.src = iuvn1->ip4.dst_address.as_u32; + next_key1.vni = iuvn1->vxlan.vni_res; + next_key1.spi_si = iuvn1->nsh.spi_si; next_key1.pad = 0; next_p1 = hash_get_mem (ngm->nsh_vxlan_gpe_tunnel_by_key, &next_key1);