> On Jun 18, 2015, at 11:52 AM, Sorin Vinturis 
> <svintu...@cloudbasesolutions.com> wrote:
> 
> Disconnecting the NIC from HV switch and then unloading the driver hits an
> ASSERT (ASSERT(switchContext->numPhysicalNics);).
> 
> Also if the external or internal port is deleted from the userspace, the
> latter ports would not be re-added until the extension would be reloaded.
> 
> This patch ensures that the internal or external ports are being deleted
> only by the Hyper-V switch mechanisms, which also solves the issue raised
> by the above assert.
> 
> Signed-off-by: Sorin Vinturis <svintu...@cloudbasesolutions.com>
> Co-authored-by: Alin Gabriel Serdean <aserd...@cloudbasesolutions.com>
> Reported-by: Sorin Vinturis <svintu...@cloudbasesolutions.com>

Just curious, was any unit testing performed to test the specific scenario we 
are claiming to fix?

thanks,
-- Nithin
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to