]> git.proxmox.com Git - ovs.git/commit
ovn-controller: Fix memory leak when updating tunnels.
authorJesse Gross <jesse@kernel.org>
Thu, 28 Jul 2016 16:05:44 +0000 (09:05 -0700)
committerJesse Gross <jesse@kernel.org>
Sun, 14 Aug 2016 05:36:17 +0000 (22:36 -0700)
commitdd09b86cf1815e30822ebe2370d2319bebd3006e
treef90a1c69f4269334c902f7ef67d2ba6b1b7402aa
parent3d0b8206376100f35812a31a6656cfa520f57492
ovn-controller: Fix memory leak when updating tunnels.

When a tunnel possibly needs to be updated, we are currently allocating
a new name for it. This is not necessary and in fact nothing uses the
name, which then results in the memory being leaked.

Fixes: 1d45d5a9 ("ovn-controller: Change encaps_run to work incrementally.")
Signed-off-by: Jesse Gross <jesse@kernel.org>
Acked-by: Ryan Moats <rmoats@us.ibm.com>
Acked-by: Ben Pfaff <blp@ovn.org>
ovn/controller/encaps.c