From: Vlad Yasevich <vyasevic@redhat.com>
To: netdev@vger.kernel.org
Cc: Vlad Yasevich <vyasevic@redhat.com>, Jiri Pirko <jiri@resnulli.us>
Subject: [PATCH 2/2] team: Use new sync_multiple api to sync devices adressess.
Date: Mon, 15 Apr 2013 15:09:57 -0400 [thread overview]
Message-ID: <1366052997-12435-3-git-send-email-vyasevic@redhat.com> (raw)
In-Reply-To: <1366052997-12435-1-git-send-email-vyasevic@redhat.com>
Team drivers attempts to sync addresses to each of of the port
devices; however, the current api doesn't do anything for anything
after the first device. 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>
---
drivers/net/team/team.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/team/team.c b/drivers/net/team/team.c
index bf34192..33d89f8 100644
--- a/drivers/net/team/team.c
+++ b/drivers/net/team/team.c
@@ -1491,8 +1491,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();
}
--
1.7.7.6
next prev parent reply other threads:[~2013-04-15 19:43 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-15 19:09 [PATCH 0/2] Add suppport for sync of hw addresses to multiple devices Vlad Yasevich
2013-04-15 19:09 ` [PATCH 1/2] net: add dev_uc_sync_multiple() and dev_mc_sync_multiple() api Vlad Yasevich
2013-04-15 19:36 ` David Miller
2013-04-15 19:37 ` Vlad Yasevich
2013-04-15 19:44 ` David Miller
2013-04-15 19:48 ` Vlad Yasevich
2013-04-15 19:09 ` Vlad Yasevich [this message]
2013-04-15 19:45 ` [PATCH 2/2] team: Use new sync_multiple api to sync devices adressess David Miller
2013-04-15 19:49 ` Vlad Yasevich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1366052997-12435-3-git-send-email-vyasevic@redhat.com \
--to=vyasevic@redhat.com \
--cc=jiri@resnulli.us \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).