Instance PID is already deleted in the OvsCleanupPacketQueue function.
Signed-off-by: Sorin Vinturis <[email protected]>
Acked-by: Nithin Raju <[email protected]>
---
v2: Rebased the patch.
v3: Added ack.
---
datapath-windows/ovsext/User.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/datapath-windows/ovsext/User.c b/datapath-windows/ovsext/User.c
index 03f0377..76a9ed1 100644
--- a/datapath-windows/ovsext/User.c
+++ b/datapath-windows/ovsext/User.c
@@ -163,12 +163,6 @@ OvsSubscribeDpIoctl(PVOID instanceP,
if (instance->packetQueue && !join) {
/* unsubscribe */
OvsCleanupPacketQueue(instance);
-
- OvsAcquirePidHashLock();
- /* Remove the instance from pidHashArray */
- OvsDelPidInstance(gOvsSwitchContext, pid);
- OvsReleasePidHashLock();
-
} else if (instance->packetQueue == NULL && join) {
queue = (POVS_USER_PACKET_QUEUE) OvsAllocateMemoryWithTag(
sizeof *queue, OVS_USER_POOL_TAG);
--
1.9.0.msysgit.0
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev