summaryrefslogtreecommitdiffstats
path: root/drivers/net/team
diff options
context:
space:
mode:
authorVlad Yasevich <vyasevic@redhat.com>2013-04-15 09:54:26 +0000
committerDavid S. Miller <davem@davemloft.net>2013-04-15 16:10:47 -0400
commit72b270323dee45ccf4aafff7118dcc46caaed22e (patch)
tree97014ff57652d41b366fb41a08c93e7aa3a798e8 /drivers/net/team
parent4cd729b04285b7330edaf5a7080aa795d6d15ff3 (diff)
downloadop-kernel-dev-72b270323dee45ccf4aafff7118dcc46caaed22e.zip
op-kernel-dev-72b270323dee45ccf4aafff7118dcc46caaed22e.tar.gz
team: Use new sync_multiple api to sync devices adressess.
Team drivers attempts to sync addresses to each of the port devices; however, the current api doesn't really perform the sync for any device after the first one. Switch to using the new api that will actually sync the addresses to all ports. CC: Jiri Pirko <jiri@resnulli.us> Signed-off-by: Vlad Yasevich <vyasevic@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/team')
-rw-r--r--drivers/net/team/team.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/team/team.c b/drivers/net/team/team.c
index 621c1bd..9a31e8e 100644
--- a/drivers/net/team/team.c
+++ b/drivers/net/team/team.c
@@ -1504,8 +1504,8 @@ static void team_set_rx_mode(struct net_device *dev)
rcu_read_lock();
list_for_each_entry_rcu(port, &team->port_list, list) {
- dev_uc_sync(port->dev, dev);
- dev_mc_sync(port->dev, dev);
+ dev_uc_sync_multiple(port->dev, dev);
+ dev_mc_sync_multiple(port->dev, dev);
}
rcu_read_unlock();
}
OpenPOWER on IntegriCloud