datapath-windows: Enable extension after rrestart
authorSorin Vinturis <svinturis@cloudbasesolutions.com>
Wed, 29 Apr 2015 12:58:16 +0000 (12:58 +0000)
committerGurucharan Shetty <gshetty@nicira.com>
Wed, 29 Apr 2015 14:26:56 +0000 (07:26 -0700)
commit9719aee5c7bf4d3b99a0b25eecf86ea0eef652e8
tree9f5322aed039c19adf6d56de255cdbda7adc111e
parent5c62a855c7bb24424cbe7ec48ecf2f128db8b102
datapath-windows: Enable extension after rrestart

The extension failed to be activated during booting due to the
failure to initialize tunnel filter. This happened because the Base
Filtering Engine (BFE) is not started and 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 tunnel filter is initialized.

Signed-off-by: Sorin Vinturis <svinturis@cloudbasesolutions.com>
Reported-by: Sorin Vinturis <svinturis@cloudbasesolutions.com>
Reported-at: https://github.com/openvswitch/ovs-issues/issues/77
Acked-by: Eitan Eliahu <eliahue@vmware.com>
Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
datapath-windows/ovsext/Switch.c
datapath-windows/ovsext/TunnelFilter.c
datapath-windows/ovsext/TunnelIntf.h