datapath-windows: Add corresponding tag for tunnel context allocations
authorSorin Vinturis <svinturis@cloudbasesolutions.com>
Wed, 2 Sep 2015 16:44:43 +0000 (16:44 +0000)
committerBen Pfaff <blp@nicira.com>
Fri, 4 Sep 2015 23:45:43 +0000 (16:45 -0700)
Signed-off-by: Sorin Vinturis <svinturis@cloudbasesolutions.com>
Acked-by: Nithin Raju <nithin@vmware.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
datapath-windows/ovsext/Vport.c

index dd615e4..ea10692 100644 (file)
@@ -1267,7 +1267,8 @@ OvsRemoveTunnelVport(POVS_USER_PARAMS_CONTEXT usrParamsCtx,
     POVS_TUNFLT_INIT_CONTEXT tunnelContext = NULL;
     PIRP irp = NULL;
 
-    tunnelContext = OvsAllocateMemory(sizeof(*tunnelContext));
+    tunnelContext = OvsAllocateMemoryWithTag(sizeof(*tunnelContext),
+                                             OVS_VPORT_POOL_TAG);
     if (tunnelContext == NULL) {
         return STATUS_INSUFFICIENT_RESOURCES;
     }