datapath-windows: Fix IP fragmentation
authorAlin Serdean <aserdean@cloudbasesolutions.com>
Wed, 30 Sep 2015 21:00:43 +0000 (21:00 +0000)
committerBen Pfaff <blp@nicira.com>
Fri, 2 Oct 2015 14:20:30 +0000 (07:20 -0700)
commit84173c87087670917c9c41de19ec78f2da4a9fb6
tree7065c8bc8b6f9bf9d1ae9a007147f65d51d1bfc3
parent21c5b0f755f7b532b7fbd62b08f3b885b0f6f5e3
datapath-windows: Fix IP fragmentation

Currently in the case of IP fragmentation we send to the userspace that
the flag for the last fragment is 3 when it actually should be a value
between 0..2.

This patch fixes the problem and also uses the values used in the common
header of the datapath.

Signed-off-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com>
Acked-by: Nithin Raju <nithin@vmware.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
datapath-windows/ovsext/DpInternal.h
datapath-windows/ovsext/Flow.c
datapath-windows/ovsext/PacketParser.c