X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fvxlan-gpe%2Fdecap.c;h=975323df5da48de39f4000c5025ef31fefe62d23;hb=7d98a12f29d5b9696df98b8af2f128614a4f0360;hp=29a043fe9d4fc6d0e857a54f617904f169c5e740;hpb=3d0fadc01fa92664b8ebc5d8400b6344ee7e92df;p=vpp.git diff --git a/src/vnet/vxlan-gpe/decap.c b/src/vnet/vxlan-gpe/decap.c index 29a043fe9d4..975323df5da 100644 --- a/src/vnet/vxlan-gpe/decap.c +++ b/src/vnet/vxlan-gpe/decap.c @@ -857,10 +857,8 @@ ip_vxlan_gpe_bypass_inline (vlib_main_t * vm, } /* Setup packet for next IP feature */ - vnet_feature_next (vnet_buffer (b0)->sw_if_index[VLIB_RX], &next0, - b0); - vnet_feature_next (vnet_buffer (b1)->sw_if_index[VLIB_RX], &next1, - b1); + vnet_feature_next (&next0, b0); + vnet_feature_next (&next1, b1); if (is_ip4) { @@ -1073,8 +1071,7 @@ ip_vxlan_gpe_bypass_inline (vlib_main_t * vm, ip60 = vlib_buffer_get_current (b0); /* Setup packet for next IP feature */ - vnet_feature_next (vnet_buffer (b0)->sw_if_index[VLIB_RX], &next0, - b0); + vnet_feature_next (&next0, b0); if (is_ip4) proto0 = ip40->protocol;