summaryrefslogtreecommitdiff
path: root/datapath-windows/ovsext/Tunnel.c
diff options
context:
space:
mode:
authorSorin Vinturis <svinturis@cloudbasesolutions.com>2016-03-25 14:49:27 +0000
committerBen Pfaff <blp@ovn.org>2016-03-25 08:24:33 -0700
commitee25964a60c6b2c6e60a4c5fbfc9e90cf304f970 (patch)
treeaed6bb5d9fffd860d866be30a53c1e70f9bac9eb /datapath-windows/ovsext/Tunnel.c
parenta0045b428f1e6c20fd8a31dec22d7f16ffef86f3 (diff)
downloadopenvswitch-ee25964a60c6b2c6e60a4c5fbfc9e90cf304f970.tar.gz
datapath-windows: Added recirculation support.
Recirculation support for the OVS extension. Tested using PING and iperf with Driver Verifier enabled. Signed-off-by: Sorin Vinturis <svinturis@cloudbasesolutions.com> Co-authored-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com> Reported-by: Sorin Vinturis <svinturis@cloudbasesolutions.com> Reported-at: https://github.com/openvswitch/ovs-issues/issues/104 Acked-by: Nithin Raju <nithin@vmware.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'datapath-windows/ovsext/Tunnel.c')
-rw-r--r--datapath-windows/ovsext/Tunnel.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/datapath-windows/ovsext/Tunnel.c b/datapath-windows/ovsext/Tunnel.c
index eea4a8495..e957aaf4f 100644
--- a/datapath-windows/ovsext/Tunnel.c
+++ b/datapath-windows/ovsext/Tunnel.c
@@ -39,6 +39,7 @@
#include "PacketIO.h"
#include "NetProto.h"
#include "Flow.h"
+#include "Actions.h"
extern POVS_SWITCH_CONTEXT gOvsSwitchContext;
@@ -258,13 +259,13 @@ OvsInjectPacketThroughActions(PNET_BUFFER_LIST pNbl,
sendCompleteFlags);
{
- POVS_VPORT_ENTRY vport;
- UINT32 portNo;
- OVS_PACKET_HDR_INFO layers;
- OvsFlowKey key;
- UINT64 hash;
- PNET_BUFFER curNb;
- OvsFlow *flow;
+ POVS_VPORT_ENTRY vport = NULL;
+ UINT32 portNo = 0;
+ OVS_PACKET_HDR_INFO layers = { 0 };
+ OvsFlowKey key = { 0 };
+ UINT64 hash = 0;
+ PNET_BUFFER curNb = NULL;
+ OvsFlow *flow = NULL;
fwdDetail = NET_BUFFER_LIST_SWITCH_FORWARDING_DETAIL(pNbl);