summaryrefslogtreecommitdiffstats
path: root/net/core
diff options
context:
space:
mode:
authorstephen hemminger2011-03-24 14:24:01 +0100
committerDavid S. Miller2011-03-28 08:35:02 +0200
commitedf947f10074fea27fdb1730524dca59355a1c40 (patch)
tree4141cd2fa39ae589055057e912d3235150d670c5 /net/core
parentipv4: Fix IP timestamp option (IPOPT_TS_PRESPEC) handling in ip_options_echo() (diff)
downloadkernel-qcow2-linux-edf947f10074fea27fdb1730524dca59355a1c40.tar.gz
kernel-qcow2-linux-edf947f10074fea27fdb1730524dca59355a1c40.tar.xz
kernel-qcow2-linux-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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/core/dev.c b/net/core/dev.c
index 9b23dcefae6c..563ddc28139d 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);