[ovs-git] [openvswitch/ovs] e0315d: vlan-splinter: Do not check for ipv6 address.

GitHub noreply at github.com
Tue Jul 28 17:29:26 UTC 2015


  Branch: refs/heads/branch-2.3
  Home:   https://github.com/openvswitch/ovs
  Commit: e0315d20133aac7201206fd029d4b5395bb4974a
      https://github.com/openvswitch/ovs/commit/e0315d20133aac7201206fd029d4b5395bb4974a
  Author: Alex Wang <alexw at nicira.com>
  Date:   2015-07-28 (Tue, 28 Jul 2015)

  Changed paths:
    M vswitchd/bridge.c

  Log Message:
  -----------
  vlan-splinter: Do not check for ipv6 address.

When ovs cleans up unused vlan sub interfaces created by vlan splinter
feature, it will not touch interface that has ip address assigned.
However, the get_in6() function implemented in netdev-linux module
is buggy and always returns 0 (found ipv6 address).  This causes the
vlan splinter created sub interfaces never being removed.

Since vlan splinter check is the only user of get_in6 function and
there is no known use case of vlan interface with ipv6 address, we can
simply remove the call of get_in6() function in vlan splinter check.

VMware-BZ: #1485521
Reported-by: Ronald Lee <ronaldlee at vmware.com>
Signed-off-by: Alex Wang <alexw at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>




More information about the git mailing list