]> git.proxmox.com Git - mirror_ovs.git/commit
ofproto-dpif-xlate: Fix reference leak in xlate_dp_hash_select_group().
authorBen Pfaff <blp@ovn.org>
Thu, 10 May 2018 20:50:51 +0000 (13:50 -0700)
committerBen Pfaff <blp@ovn.org>
Thu, 17 May 2018 15:09:10 +0000 (08:09 -0700)
commit92614555eca6f438c6894edad8b36decb5f79b45
tree2aca0adabc4eeed4cd76c2b85761bc5e97df1f27
parent481bde499a5dc357a1c3fc96c35dc9b998da3d81
ofproto-dpif-xlate: Fix reference leak in xlate_dp_hash_select_group().

xlate_group_action() takes a reference to the ofgroup and passes it
down to xlate_group_action__(), xlate_select_group(), and finally to
xlate_dp_hash_select_group(), which is supposed to consume it but fails
to do so.  This commit fixes the problem.

Found by inspection.

Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Justin Pettit <jpettit@ovn.org>
ofproto/ofproto-dpif-xlate.c