[ovs-git] [openvswitch/ovs] 48c673: bridge: Prohibit "default" and "all" bridge name.

GitHub noreply at github.com
Mon May 1 17:28:35 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 48c6733cb5c4e2d35be5609c99a8c37ec08bb60f
      https://github.com/openvswitch/ovs/commit/48c6733cb5c4e2d35be5609c99a8c37ec08bb60f
  Author: William Tu <u9012063 at gmail.com>
  Date:   2017-05-01 (Mon, 01 May 2017)

  Changed paths:
    M lib/netdev-linux.c

  Log Message:
  -----------
  bridge: Prohibit "default" and "all" bridge name.

Under Linux, when users create bridge named "default" or "all", although
ovs-vsctl fails but vswitchd in the background will keep retrying it,
causing the systemd-udev to reach 100% cpu utilization. The patch prevents
any attempt to create or open a netdev named "default" or "all" because
these two names are reserved on Linux due to
/proc/sys/net/ipv4/conf/ always contains directories by these names.

The reason for high CPU utilization is due to frequent calls into kernel's
register_netdevice function, which will invoke several kernel elements who
has registered on the netdevice notifier chain.  And due to creation failed,
OVS wakes up and re-recreate the device, which ends up as a high CPU loop.

VMWare-BZ: #1842388
Signed-off-by: William Tu <u9012063 at gmail.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>
Acked-by: Greg Rose <gvrose8192 at gmail.com>


  Commit: 01f92b743eb334d09bdeb511bf7d35e88a5e70f8
      https://github.com/openvswitch/ovs/commit/01f92b743eb334d09bdeb511bf7d35e88a5e70f8
  Author: William Tu <u9012063 at gmail.com>
  Date:   2017-05-01 (Mon, 01 May 2017)

  Changed paths:
    M Documentation/topics/windows.rst

  Log Message:
  -----------
  doc: Fix sphinx reference warning for windows.

Footnote reference 5, 8, and 9 are not referenced in the windws.rst content,
causing the following error:
Warning, treated as error:
/root/ovs/Documentation/topics/windows.rst:506:Footnote [5] is not referenced.

Signed-off-by: William Tu <u9012063 at gmail.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>


Compare: https://github.com/openvswitch/ovs/compare/28ff6aa27967...01f92b743eb3


More information about the git mailing list