[ovs-git] [openvswitch/ovs] 3661c0: bridge: Do not add bridges with '/' in name.
GitHub
noreply at github.com
Thu Feb 4 03:20:22 UTC 2016
Branch: refs/heads/branch-2.4
Home: https://github.com/openvswitch/ovs
Commit: 3661c0686a0ee02542aad4b20e40d619c8a9ca7a
https://github.com/openvswitch/ovs/commit/3661c0686a0ee02542aad4b20e40d619c8a9ca7a
Author: Daniele Di Proietto <diproiettod at vmware.com>
Date: 2016-02-03 (Wed, 03 Feb 2016)
Changed paths:
M tests/ovs-vswitchd.at
M vswitchd/bridge.c
Log Message:
-----------
bridge: Do not add bridges with '/' in name.
This effectively stops vswitchd from creating bridges with '/' in the
name. OVS used to print a warning but the bridge was created anyway.
This restriction is implemented because the bridge name is part of a
filesystem path.
This check is no substitute for Mandatory Access Control, but it
certainly helps to catch the error early.
Signed-off-by: Daniele Di Proietto <diproiettod at vmware.com>
[blp at ovn.org added a test]
Acked-by: Ben Pfaff <blp at ovn.org>
More information about the git
mailing list