diff options
author | Sorin Vinturis <svinturis@cloudbasesolutions.com> | 2015-04-15 17:30:26 +0000 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2015-04-20 15:44:33 -0700 |
commit | b514f972821d2b8ff3de1e90827cf66ef65127ce (patch) | |
tree | 6bcba5d3cf2ecde966d7cce7973443520b2c0d1f /datapath-windows/ovsext | |
parent | 28e2fa027d8c44f0970e3f2f12911f8c1cdde3a2 (diff) | |
download | openvswitch-b514f972821d2b8ff3de1e90827cf66ef65127ce.tar.gz |
datapath-windows: Removed assert from FilterNetPnPEvent handler
I have removed an inappropriate assert from the FilterNetPnPEvent
routine, OvsExtNetPnPEvent. When NDIS calls the FilterNetPnPEvent
routine, the extension is in paused state and, obviously, the
switch is not active. The switch becomes active after FilterRestart
routine is called and the restart is successfully complete.
Signed-off-by: Sorin Vinturis <svinturis@cloudbasesolutions.com>
Acked-by: Eitan Eliahu <eliahue@vmware.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'datapath-windows/ovsext')
-rw-r--r-- | datapath-windows/ovsext/Switch.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/datapath-windows/ovsext/Switch.c b/datapath-windows/ovsext/Switch.c index 4f4591fca..11092dec1 100644 --- a/datapath-windows/ovsext/Switch.c +++ b/datapath-windows/ovsext/Switch.c @@ -582,7 +582,6 @@ OvsExtNetPnPEvent(NDIS_HANDLE filterModuleContext, switchContext->isActivateFailed = TRUE; } else { ASSERT(switchContext->isActivated == FALSE); - ASSERT(switchActive == TRUE); if (switchContext->isActivated == FALSE && switchActive == TRUE) { status = OvsActivateSwitch(switchContext); OVS_LOG_TRACE("OvsExtNetPnPEvent: activated switch: %p " |