diff options
author | Alin Serdean <aserdean@cloudbasesolutions.com> | 2016-01-12 18:00:32 +0000 |
---|---|---|
committer | Gurucharan Shetty <guru@ovn.org> | 2016-02-03 08:13:52 -0800 |
commit | 8834e5c27ff9739ff4bf0199894d839581d30da8 (patch) | |
tree | f6025f27cc84c4b28ed2bd02a3133e6b46f7f0ee /ovn | |
parent | b1e04512f7150aa9d98a121b32f820c316522372 (diff) | |
download | openvswitch-8834e5c27ff9739ff4bf0199894d839581d30da8.tar.gz |
datapath-windows: fix endless loop on reboot
Testing under 2012 gave some more inisight on an old bug.
If a PNP event with the value of NetEventSwitchActivate was triggered
we were calling OvsQuerySwitchActivationComplete which does an OID request
to the underlying drivers, however this triggered a hang because as per
documentation:
https://msdn.microsoft.com/en-us/library/windows/hardware/ff561830%28v=vs.85%29.aspx
"A driver can call NdisFOidRequest when it is in the Restarting, Running,
Pausing, or Paused state."
This resulted in an endless booting cycle.
Looking at the documentation again:
https://msdn.microsoft.com/en-us/library/windows/hardware/ff568751%28v=vs.85%29.aspx
NetEventSwitchActivate indicates that the extensible switch has completed
activation so we can now safely query the switch itself.
Also we are not forwarding the PNP event to the overlaying drivers unless
we succeeded in the operation, this issue has been fixed also.
Signed-off-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com>
Acked-by: Nithin Raju <nithin@vmware.com>
Signed-off-by: Gurucharan Shetty <guru@ovn.org>
Diffstat (limited to 'ovn')
0 files changed, 0 insertions, 0 deletions