Signed-off-by: Ankur Sharma <ankursha...@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 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev