diff options
author | Ankur Sharma <ankursharma@vmware.com> | 2014-10-21 17:24:40 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2014-10-23 09:16:09 -0700 |
commit | 0e55eddc30506f269412becae7254647630c4140 (patch) | |
tree | 46be38a247d2af569dee59760fa86cc15399587c | |
parent | 10023cb51bdfce031b33c1cec3953fefb0befb40 (diff) | |
download | openvswitch-0e55eddc30506f269412becae7254647630c4140.tar.gz |
datapath-windows: Fixes during integration testing.
Signed-off-by: Ankur Sharma <ankursharma@vmware.com>
Acked-by: Sorin Vinturis <svinturis@cloudbasesolutions.com>
Acked-by: Nithin Raju <nithin@vmware.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
-rw-r--r-- | datapath-windows/ovsext/User.c | 4 | ||||
-rw-r--r-- | 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 6bd702e87..b2961601a 100644 --- a/datapath-windows/ovsext/User.c +++ b/datapath-windows/ovsext/User.c @@ -924,7 +924,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 0c18e2f72..59d79e8ee 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"); |