diff options
author | stephen hemminger <shemminger@vyatta.com> | 2011-03-24 16:24:01 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-03-28 10:35:02 +0400 |
commit | edf947f10074fea27fdb1730524dca59355a1c40 (patch) | |
tree | 4141cd2fa39ae589055057e912d3235150d670c5 /net/bridge/br_private.h | |
parent | 8628bd8af7c4c14f40f5183f80f5744c4e682439 (diff) | |
download | linux-edf947f10074fea27fdb1730524dca59355a1c40.tar.xz |
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>
Diffstat (limited to 'net/bridge/br_private.h')
-rw-r--r-- | net/bridge/br_private.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bridge/br_private.h b/net/bridge/br_private.h index 19e2f46ed086..387013d33745 100644 --- a/net/bridge/br_private.h +++ b/net/bridge/br_private.h @@ -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); |