From 03118056cde350e112f681dd2f22717114a0631f Mon Sep 17 00:00:00 2001 From: Alin Serdean Date: Thu, 11 Feb 2016 00:14:32 +0000 Subject: datapath-windows: Fix small bug in MPLS The keylen is not properly updated in the case of MPLS, directly causing the hash to be calculated improperly. Signed-off-by: Alin Gabriel Serdean Acked-by: Sairam Venugopal Signed-off-by: Ben Pfaff --- datapath-windows/ovsext/DpInternal.h | 1 + 1 file changed, 1 insertion(+) (limited to 'datapath-windows/ovsext/DpInternal.h') diff --git a/datapath-windows/ovsext/DpInternal.h b/datapath-windows/ovsext/DpInternal.h index 72e9b208a..c094f3297 100644 --- a/datapath-windows/ovsext/DpInternal.h +++ b/datapath-windows/ovsext/DpInternal.h @@ -174,6 +174,7 @@ typedef __declspec(align(8)) struct OvsFlowKey { #define OVS_IPV6_KEY_SIZE (sizeof (Ipv6Key)) #define OVS_ARP_KEY_SIZE (sizeof (ArpKey)) #define OVS_ICMPV6_KEY_SIZE (sizeof (Icmp6Key)) +#define OVS_MPLS_KEY_SIZE (sizeof (MplsKey)) typedef struct OvsFlowStats { Ovs64AlignedU64 packetCount; -- cgit v1.2.1