Fix dual-loop issue in vxlan_gpe decap 02/3602/3
authorHongjun Ni <hongjun.ni@intel.com>
Thu, 27 Oct 2016 10:39:44 +0000 (18:39 +0800)
committerChris Luke <chris_luke@comcast.com>
Mon, 7 Nov 2016 14:58:58 +0000 (14:58 +0000)
commite74c1dc577edf19d485e8a37977b06f502cc76bd
tree49e5ef552e4602040780dcf94239e85bd0707dd8
parentd2017f6de1371cc237ad1a86588091232e2c7b37
Fix dual-loop issue in vxlan_gpe decap

From logical point, if first packet is ipv4, and second packet is ipv6.
When first packet failed, the procedure will skip key6_1 setting.
This will lead to second packet's failure.
But here the graph node only process either ipv4 or ipv6 packets completely.
So it is not an issue here.

This patch only make the packet processig's logic clear. It is just a cosmetic change.

Change-Id: I0104ebf2546208d9068000649ce6dccdeeb5aa79
Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
vnet/vnet/vxlan-gpe/decap.c