vswitchd: Inherit parents mac address for fake bridges
authorHelmut Schaa <helmut.schaa@googlemail.com>
Fri, 6 Dec 2013 15:18:42 +0000 (16:18 +0100)
committerBen Pfaff <blp@nicira.com>
Fri, 17 Jan 2014 01:43:11 +0000 (17:43 -0800)
commitddd43de9ba729023dbee897a330727dfa9a6a7a6
treeadf343dc1399173a31fdbd38a6ea847ef2ac4726
parentb73c85181df9cc38231a42d6f8095dcb604d230a
vswitchd: Inherit parents mac address for fake bridges

When adding a physical port to the main bridge the mac address
of the bridge is updated. We can do the same for fake bridges by
copying the mac address of the parent bridge.

There exists only one fake bridge per vlan, hence it is safe
to copy the mac address of the parent bridge.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
vswitchd/bridge.c