summaryrefslogtreecommitdiff
path: root/datapath-windows/ovsext/DpInternal.h
diff options
context:
space:
mode:
authorAlin Serdean <aserdean@cloudbasesolutions.com>2016-02-11 00:14:32 +0000
committerBen Pfaff <blp@ovn.org>2016-02-10 18:06:58 -0800
commit03118056cde350e112f681dd2f22717114a0631f (patch)
treebbbdff8d808c5c9b4d1c54b04c301c8929e6960f /datapath-windows/ovsext/DpInternal.h
parentacdd07648ac22d4492a2575dd07303acf4cc8e91 (diff)
downloadopenvswitch-03118056cde350e112f681dd2f22717114a0631f.tar.gz
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 <aserdean@cloudbasesolutions.com> Acked-by: Sairam Venugopal <vsairam@vmware.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'datapath-windows/ovsext/DpInternal.h')
-rw-r--r--datapath-windows/ovsext/DpInternal.h1
1 files changed, 1 insertions, 0 deletions
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;