[ovs-git] [openvswitch/ovs] bfa909: ofproto-dpif: Delete system tunnel interface when ...

GitHub noreply at github.com
Thu Feb 1 21:58:39 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: bfa90988d09100e88240a28421eb272e040ac162
      https://github.com/openvswitch/ovs/commit/bfa90988d09100e88240a28421eb272e040ac162
  Author: juyan at redhat.com <juyan at redhat.com>
  Date:   2018-02-01 (Thu, 01 Feb 2018)

  Changed paths:
    M ofproto/ofproto-dpif.c

  Log Message:
  -----------
  ofproto-dpif: Delete system tunnel interface when remove ovs bridge

When a user adds the first tunnel of a given type (e.g. the first VXLAN
tunnel) to an OVS bridge, OVS adds a vport of the same type to the
kernel datapath that backs the bridge.  There is the corresponding
expectation that, when the last tunnel of that type is removed from the
OVS bridges, OVS would remove the vport that represents it from the
backing kernel datapath, but OVS was not doing that.  This commit fixes
the problem.

There is not any major concern about the lingering tunnel interface, but
it's cleaner to delete it.

Fixes: 921c370a9df5 ("dpif-netlink: Probe for out-of-tree tunnels, decides used interface")
Signed-off-by: JunhanYan <juyan at redhat.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>




More information about the git mailing list