datapath-windows: Updated WFP system provider handling
authorSorin Vinturis <svinturis@cloudbasesolutions.com>
Tue, 24 Mar 2015 14:53:11 +0000 (14:53 +0000)
committerBen Pfaff <blp@nicira.com>
Tue, 24 Mar 2015 15:37:27 +0000 (08:37 -0700)
commit59a33335dcc5c750b55dbd2a7961e91a816697b7
tree21de56c28c876b0906f65401645a488e52f5ca42
parent677d9158fc0aa16f875198d83c7bd8f87238aed5
datapath-windows: Updated WFP system provider handling

If the Base Filtering Engine (BFE) is not started, the WFP system
provider failed to be added because no session to the engine could
be acquired.

The solution for this was to registered a BFE notification callback
that is called whenever the BFE's state changes. Only if the BFE's
state is running the WFP system provider is added.

Signed-off-by: Sorin Vinturis <svinturis@cloudbasesolutions.com>
Reported-by: Sorin Vinturis <svinturis@cloudbasesolutions.com>
Reported-at: https://github.com/openvswitch/ovs-issues/issues/65
Acked-by: Eitan Eliahu <eliahue@vmware.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
datapath-windows/ovsext/Datapath.c
datapath-windows/ovsext/TunnelFilter.c
datapath-windows/ovsext/TunnelIntf.h