> On Jun 19, 2015, at 9:33 AM, Sorin Vinturis 
> <svintu...@cloudbasesolutions.com> wrote:
> 
> When the extension is initialized the global reference count, used for
> preventing early deallocation of the switch extension, is set to 1.
> Enabling and then disabling the extension leaves the latter reference
> count to zero. Because of this the switch context fails to be acquired,
> i.e OvsAcquireSwitchContext returns zero, and that affects driver's
> communication to the userspace.
> 
> The solution is to initialize the reference count each time the extension
> is enabled.
> 
> Signed-off-by: Sorin Vinturis <svintu...@cloudbasesolutions.com>
> Reported-by: Nithin Raju <nit...@vmware.com>
> Reported-at: 
> https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_openvswitch_ovs-2Dissues_issues_86&d=BQIGaQ&c=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNtXt-uEs&r=pNHQcdr7B40b4h6Yb7FIedI1dnBsxdDuTLBYD3JqV80&m=Ci81GtiudLLsDNADZ44A0uHkIhrzdjF_n2T1ll1cqu8&s=v-_ggRIXvGRXZOdcLwcdDY6yOC0RppNtxFusO4TkaQc&e=
>  
> Acked-by: Nithin Raju <nit...@vmware.com>

Thanks for addressing the comments.

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

Reply via email to