[ovs-git] [openvswitch/ovs] 26228f: ofproto-dpif-xlate: Fix memory leak in is_neighbor...

damijans noreply at github.com
Thu Oct 3 16:55:46 UTC 2019


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 26228f445ce3ed39a5a046dfb49b761d6d0fc71a
      https://github.com/openvswitch/ovs/commit/26228f445ce3ed39a5a046dfb49b761d6d0fc71a
  Author: Damijan Skvarc <damjan.skvarc at gmail.com>
  Date:   2019-10-03 (Thu, 03 Oct 2019)

  Changed paths:
    M ofproto/ofproto-dpif-xlate.c

  Log Message:
  -----------
  ofproto-dpif-xlate: Fix memory leak in is_neighbor_reply_correct() function

Memory leak happens while calling netdev_get_addr_list() function. This
function allocates memory for ip_addr and mask output arguments, but
this memory is never freed.

CC: Yifeng Sun <pkusunyifeng at gmail.com>
Fixes: dc0bd12f5b04 ("userspace: Enable non-bridge port as tunnel endpoint.")
Signed-off-by: Damijan Skvarc <damjan.skvarc at gmail.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>




More information about the git mailing list