]> git.proxmox.com Git - mirror_ovs.git/commit
ofproto-dpif-xlate: Fix translation of groups with no buckets.
authorBen Pfaff <blp@ovn.org>
Sun, 2 Sep 2018 16:30:43 +0000 (09:30 -0700)
committerBen Pfaff <blp@ovn.org>
Tue, 18 Sep 2018 04:41:00 +0000 (21:41 -0700)
commit03121ac4efbe198a137c97962a3017cea7a9ae15
tree65da7e260890ed80711e64fe631e27784ed44ff4
parentd9564a2fcc90f0b9de507ad1e1a540c5d9a48684
ofproto-dpif-xlate: Fix translation of groups with no buckets.

A group can have no buckets, in which case ovs_list_back() assert-fails.
This fixes the problem.

Found by OFTest.

Reported-at: https://bugzilla.redhat.com/show_bug.cgi?id=1626488
Tested-by: Eelco Chaudron <echaudro@redhat.com>
Fixes: a04e58881e25 ("ofproto-dpif-xlate: Simplify translation for groups.")
Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Eelco Chaudron <echaudro@redhat.com>
ofproto/ofproto-dpif-xlate.c