diff options
author | Liran Alon <liran.alon@oracle.com> | 2018-06-18 15:04:05 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-06-20 07:56:44 +0900 |
commit | e5223438280d76ef782592cf643e09441140d14c (patch) | |
tree | d776e8465eaef934c65448b9e8b0fa71556a8d8e /drivers/net/net_failover.c | |
parent | 548feb33c598dfaf9f8e066b842441ac49b84a8a (diff) | |
download | lwn-e5223438280d76ef782592cf643e09441140d14c.tar.gz lwn-e5223438280d76ef782592cf643e09441140d14c.zip |
net: net_failover: fix typo in net_failover_slave_register()
Sync both unicast and multicast lists instead of unicast twice.
Fixes: cfc80d9a116 ("net: Introduce net_failover driver")
Reviewed-by: Joao Martins <joao.m.martins@oracle.com>
Signed-off-by: Liran Alon <liran.alon@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/net_failover.c')
-rw-r--r-- | drivers/net/net_failover.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/net_failover.c b/drivers/net/net_failover.c index 83f7420ddea5..4f390fa557e4 100644 --- a/drivers/net/net_failover.c +++ b/drivers/net/net_failover.c @@ -527,7 +527,7 @@ static int net_failover_slave_register(struct net_device *slave_dev, netif_addr_lock_bh(failover_dev); dev_uc_sync_multiple(slave_dev, failover_dev); - dev_uc_sync_multiple(slave_dev, failover_dev); + dev_mc_sync_multiple(slave_dev, failover_dev); netif_addr_unlock_bh(failover_dev); err = vlan_vids_add_by_dev(slave_dev, failover_dev); |