[ovs-git] Open vSwitch: netdev: Prevent using reserved names (master)

dev at openvswitch.org dev at openvswitch.org
Thu May 16 21:03:57 UTC 2013

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, master has been updated
       via  94a538422d4b05449097e5ad07ac25b05429f1fe (commit)
      from  aaa4b65b23707ca772c3d571353a65bf3838df9a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 94a538422d4b05449097e5ad07ac25b05429f1fe
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=94a538422d4b05449097e5ad07ac25b05429f1fe
Author: Alex Wang <alexw at nicira.com>
netdev: Prevent using reserved names
This commit adds a function to lib/netdev.c to check that the interface name
is not the same as any of the registered vport providers' dpif_port name
(e.g. gre_system) or the datapath's internal port name (e.g. ovs-system).

Bug #15077.
Signed-off-by: Alex Wang <alexw at nicira.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>


Summary of changes:
 lib/netdev-vport.c |   10 ++++++--
 lib/netdev-vport.h |    4 ++-
 lib/netdev.c       |   38 +++++++++++++++++++++++++++++++
 lib/netdev.h       |    1 +
 ofproto/tunnel.c   |    4 ---
 tests/ovs-vsctl.at |   62 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 vswitchd/bridge.c  |    7 ++++++
 7 files changed, 118 insertions(+), 8 deletions(-)

Open vSwitch

More information about the git mailing list