[ovs-git] [openvswitch/ovs] e6448d: bridge: Do not add bridges with '/' in name.
GitHub
noreply at github.com
Thu Feb 4 03:21:15 UTC 2016
Branch: refs/heads/master
Home: https://github.com/openvswitch/ovs
Commit: e6448d2f348d4ec6da8091bf877f73f6f3032d77
https://github.com/openvswitch/ovs/commit/e6448d2f348d4ec6da8091bf877f73f6f3032d77
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