diff options
author | Jay Vosburgh <fubar@us.ibm.com> | 2013-05-31 13:57:30 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-06-08 00:05:51 +0200 |
commit | 303d1cbf610eef31e039efc2e8da30cf94cf5ebc (patch) | |
tree | 5b7d13ea626dd0eda7122efa93afb7a4013a257a /drivers/net/bonding/bonding.h | |
parent | fec: Only pass pdev in fec_ptp_init() (diff) | |
download | linux-303d1cbf610eef31e039efc2e8da30cf94cf5ebc.tar.xz linux-303d1cbf610eef31e039efc2e8da30cf94cf5ebc.zip |
bonding: Convert hw addr handling to sync/unsync, support ucast addresses
This patch converts bonding to use the dev_uc/mc_sync and
dev_uc/mc_sync_multiple functions for updating the hardware addresses
of bonding slaves.
The existing functions to add or remove addresses are removed,
and their functionality is replaced with calls to dev_mc_sync or
dev_mc_sync_multiple, depending upon the bonding mode.
Calls to dev_uc_sync and dev_uc_sync_multiple are also added,
so that unicast addresses added to a bond will be properly synced with
its slaves.
Various functions are renamed to better reflect the new
situation, and relevant comments are updated.
Signed-off-by: Jay Vosburgh <fubar@us.ibm.com>
Cc: Vlad Yasevich <vyasevic@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r-- | drivers/net/bonding/bonding.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/bonding/bonding.h b/drivers/net/bonding/bonding.h index 2baec24388b1..b38609b967b7 100644 --- a/drivers/net/bonding/bonding.h +++ b/drivers/net/bonding/bonding.h @@ -231,7 +231,6 @@ struct bonding { char proc_file_name[IFNAMSIZ]; #endif /* CONFIG_PROC_FS */ struct list_head bond_list; - struct netdev_hw_addr_list mc_list; int (*xmit_hash_policy)(struct sk_buff *, int); u16 rr_tx_counter; struct ad_bond_info ad_info; |