[ovs-dev] [PATCH v2 2/3] datapath-windows: Release WFP allocated objects

Nithin Raju nithin at vmware.com
Tue Dec 23 19:17:37 UTC 2014


hi Sorin,
Thanks for making the change.

I had a couple of minor comments.

> @@ -288,12 +346,13 @@ Exit:
> VOID
> OvsTunnelUnregisterCallouts(VOID)
> {
> +    OvsTunnelRemoveFilter(&OVS_TUNNEL_FILTER_KEY,
> +                          &OVS_TUNNEL_SUBLAYER);
>     FwpmEngineClose(gEngineHandle);
>     gEngineHandle = NULL;
>     FwpsCalloutUnregisterById(gCalloutIdV4);

This is not related to your change - but should we be doing FwpmEngineClose() after FwpsCalloutUnregisterById()? ie. shouldn't we be closing the handle to the engine after all the callouts and filters have been removed? You can address this in a new change if we need to patch this.

Acked-by: Nithin Raju <nithin at vmware.com>

thanks,
-- Nithin




More information about the dev mailing list