On Tue, Sep 06, 2016 at 11:55:26PM -0700, Gurucharan Shetty wrote:
> A bitmap in 'struct group_table' is used to track all the allocated
> group_ids.  For every run of logical flows action parsing, we
> add 'group_info' structure to a hmap called 'desired_groups'. The
> group_id assigned to this group_info either comes from an already
> installed 'existing groups' or a new reservation done in the bitmap.
> 
> In ofctrl_put(), if there is a backlog, we call ovn_group_table_clear().
> This could unreserve a group_id that comes from an already existing group.
> This could result in re-use of group_id in the future causing errors while
> installed new groups.
> 
> This commit fixes the above scenario.
> 
> Signed-off-by: Gurucharan Shetty <g...@ovn.org>

Acked-by: Ben Pfaff <b...@ovn.org>
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to