aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/dev.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/core/dev.c')
-rw-r--r--net/core/dev.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/net/core/dev.c b/net/core/dev.c
index c0e260870c0..fe2a754238a 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -4457,12 +4457,13 @@ void dev_unicast_unsync(struct net_device *to, struct net_device *from)
4457} 4457}
4458EXPORT_SYMBOL(dev_unicast_unsync); 4458EXPORT_SYMBOL(dev_unicast_unsync);
4459 4459
4460static void dev_unicast_flush(struct net_device *dev) 4460void dev_unicast_flush(struct net_device *dev)
4461{ 4461{
4462 netif_addr_lock_bh(dev); 4462 netif_addr_lock_bh(dev);
4463 __hw_addr_flush(&dev->uc); 4463 __hw_addr_flush(&dev->uc);
4464 netif_addr_unlock_bh(dev); 4464 netif_addr_unlock_bh(dev);
4465} 4465}
4466EXPORT_SYMBOL(dev_unicast_flush);
4466 4467
4467static void dev_unicast_init(struct net_device *dev) 4468static void dev_unicast_init(struct net_device *dev)
4468{ 4469{
@@ -4484,7 +4485,7 @@ static void __dev_addr_discard(struct dev_addr_list **list)
4484 } 4485 }
4485} 4486}
4486 4487
4487static void dev_addr_discard(struct net_device *dev) 4488void dev_addr_discard(struct net_device *dev)
4488{ 4489{
4489 netif_addr_lock_bh(dev); 4490 netif_addr_lock_bh(dev);
4490 4491
@@ -4493,6 +4494,7 @@ static void dev_addr_discard(struct net_device *dev)
4493 4494
4494 netif_addr_unlock_bh(dev); 4495 netif_addr_unlock_bh(dev);
4495} 4496}
4497EXPORT_SYMBOL(dev_addr_discard);
4496 4498
4497/** 4499/**
4498 * dev_get_flags - get flags reported to userspace 4500 * dev_get_flags - get flags reported to userspace