forked from openvswitch/ovs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
datapath-windows: Release WFP allocated objects
Filter and sublayer WFP objects are created when the filter attach routine is called and the tunnel filter is initialized, and they are released in the uninitialize part. But the release part is done indirectly, through the FwpmEngineClose function call which releases the latter objects when the tunnel is uninitialized at filter detach. We need to properly release the created objects and not rely that FwpmEngineClose function does this for us, because if we decide to keep the engine opened passed the filter detach those objects will continue to exist. Even though the FwpmEngineClose function releases the latter objects, we still need this and the reason will became obvious in the next patch. Signed-off-by: Sorin Vinturis <[email protected]> Acked-by: Nithin Raju <[email protected]> Signed-off-by: Ben Pfaff <[email protected]>
- Loading branch information
Showing
1 changed file
with
61 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters