datapath-windows: Enable failure after restarting extension
authorSorin Vinturis <svinturis@cloudbasesolutions.com>
Wed, 15 Jul 2015 14:50:15 +0000 (14:50 +0000)
committerBen Pfaff <blp@nicira.com>
Fri, 28 Aug 2015 17:58:42 +0000 (10:58 -0700)
commit32e35d7ddfcc04bef7e69706bf0fec4d304337e3
tree8da49a12247371c5cb0d0bd6d633146b7c7d3597
parent21a719d658b44c4a49ba0e46846691cfb7078599
datapath-windows: Enable failure after restarting extension

If the extension was previously enabled and running, after issuing a
restart, stop+start, the extension fails to be enabled. This happens
because the extension's DeviceObject is not yet initialized before the
FilterAttach routine is called.

This patch addresses this issue.

Signed-off-by: Sorin Vinturis <svinturis@cloudbasesolutions.com>
Reported-by: Sorin Vinturis <svinturis@cloudbasesolutions.com>
Reported-at: https://github.com/openvswitch/ovs-issues/issues/96
Acked-by: Nithin Raju <nithin@vmware.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
datapath-windows/ovsext/TunnelFilter.c