[ovs-git] [openvswitch/ovs] bed324: netdev: Free ifidx mapping in netdev_ports_remove(...

GitHub noreply at github.com
Fri Aug 11 17:02:03 UTC 2017


  Branch: refs/heads/branch-2.8
  Home:   https://github.com/openvswitch/ovs
  Commit: bed324c813587fa40aa767a01912a7d6e2794b4a
      https://github.com/openvswitch/ovs/commit/bed324c813587fa40aa767a01912a7d6e2794b4a
  Author: Joe Stringer <joe at ovn.org>
  Date:   2017-08-11 (Fri, 11 Aug 2017)

  Changed paths:
    M lib/netdev.c

  Log Message:
  -----------
  netdev: Free ifidx mapping in netdev_ports_remove().

Previously, netdev_ports_insert() would allocate and insert an
ifindex->odp_port mapping, but netdev_ports_remove() would never remove
the mapping or free the mapping structure. This patch fixes these up.

>From master commit c8d0f32a6045af69aefd72c35b2eb92dd972288f.

Fixes: 32b77c316d9982("dpif: Save added ports in a port map.")
Reported-by: Andy Zhou <azhou at ovn.org>
Signed-off-by: Joe Stringer <joe at ovn.org>
Acked-by: Andy Zhou <azhou at ovn.org>




More information about the git mailing list