[ovs-dev] [PATCH v2 6/6] datapath-windows: Fixes during integration testing.

Ankur Sharma ankursharma at vmware.com
Wed Oct 22 00:24:40 UTC 2014


Signed-off-by: Ankur Sharma <ankursharma at vmware.com>
---
 datapath-windows/ovsext/User.c | 4 +++-
 datapath-windows/ovsext/User.h | 2 +-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/datapath-windows/ovsext/User.c b/datapath-windows/ovsext/User.c
index 6797350..3da34da 100644
--- a/datapath-windows/ovsext/User.c
+++ b/datapath-windows/ovsext/User.c
@@ -1007,7 +1007,9 @@ OvsCreateQueueNlPacket(PVOID userData,
         return NULL;
     }
 
-    if (!OvsGetPid(vport, nb, &pid)) {
+    OvsGetPid(vport, nb, &pid);
+
+    if (!pid) {
         /*
          * There is no userspace queue created yet, so there is no point for
          * creating a new packet to be queued.
diff --git a/datapath-windows/ovsext/User.h b/datapath-windows/ovsext/User.h
index 69bba09..139b0ca 100644
--- a/datapath-windows/ovsext/User.h
+++ b/datapath-windows/ovsext/User.h
@@ -1,4 +1,4 @@
-/*
+ /*
  * Copyright (c) 2014 VMware, Inc.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
-- 
1.9.1




More information about the dev mailing list