bridge: notify applications if address of bridge device changes
The mac address of the bridge device may be changed when a new interface is added to the bridge. If this happens, then the bridge needs to call the network notifiers to tickle any other systems that care. Since bridge can be a module, this also means exporting the notifier function. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
8628bd8af7
commit
edf947f100
@@ -497,7 +497,7 @@ extern void br_stp_disable_bridge(struct net_bridge *br);
|
||||
extern void br_stp_set_enabled(struct net_bridge *br, unsigned long val);
|
||||
extern void br_stp_enable_port(struct net_bridge_port *p);
|
||||
extern void br_stp_disable_port(struct net_bridge_port *p);
|
||||
extern void br_stp_recalculate_bridge_id(struct net_bridge *br);
|
||||
extern bool br_stp_recalculate_bridge_id(struct net_bridge *br);
|
||||
extern void br_stp_change_bridge_id(struct net_bridge *br, const unsigned char *a);
|
||||
extern void br_stp_set_bridge_priority(struct net_bridge *br,
|
||||
u16 newprio);
|
||||
|
Reference in New Issue
Block a user