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 <email@example.com> [firstname.lastname@example.org added a test] Acked-by: Ben Pfaff <email@example.com>
Showing with 33 additions and 2 deletions