diff options
author | stephen hemminger <shemminger@vyatta.com> | 2011-03-24 13:24:01 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-03-27 23:35:02 -0700 |
commit | edf947f10074fea27fdb1730524dca59355a1c40 (patch) | |
tree | 4141cd2fa39ae589055057e912d3235150d670c5 /net/core | |
parent | 8628bd8af7c4c14f40f5183f80f5744c4e682439 (diff) | |
download | linux-arm64-edf947f10074fea27fdb1730524dca59355a1c40.tar.gz linux-arm64-edf947f10074fea27fdb1730524dca59355a1c40.tar.bz2 linux-arm64-edf947f10074fea27fdb1730524dca59355a1c40.zip |
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/core')
-rw-r--r-- | net/core/dev.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/core/dev.c b/net/core/dev.c index 9b23dcefae6..563ddc28139 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -1423,6 +1423,7 @@ int call_netdevice_notifiers(unsigned long val, struct net_device *dev) ASSERT_RTNL(); return raw_notifier_call_chain(&netdev_chain, val, dev); } +EXPORT_SYMBOL(call_netdevice_notifiers); /* When > 0 there are consumers of rx skb time stamps */ static atomic_t netstamp_needed = ATOMIC_INIT(0); |