netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/3] bonding: struct bonding cleanup and MAC set fixes
@ 2013-06-26 15:13 Nikolay Aleksandrov
  2013-06-26 15:13 ` [PATCH net-next 1/3] bonding: remove unnecessary setup_by_slave member Nikolay Aleksandrov
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Nikolay Aleksandrov @ 2013-06-26 15:13 UTC (permalink / raw)
  To: netdev; +Cc: davem, andy, fubar

Hello,
This patchset removes some unnecessary struct bonding members. It also
fixes MAC setting inconsistencies (i.e. if a bond's MAC is set after
creation but prior to enslaving, it is lost and the first slave's MAC is
cloned again). Before these patches the only way to keep a user-defined MAC
is either to set it after enslaving or to create the bond with that MAC.
Patch 01 - removes setup_by_slave member
Patch 02 - removes dev_addr_from_first member and does the MAC fixing
Patch 03 - introduces the use of NET_ADDR_STOLEN when a MAC is cloned

Best regards,
 Nikolay Aleksandrov

Nikolay Aleksandrov (3):
  bonding: remove unnecessary setup_by_slave member
  bonding: remove unnecessary dev_addr_from_first member
  bonding: when cloning a MAC use NET_ADDR_STOLEN

 drivers/net/bonding/bond_main.c | 45 ++++++++++++++++++++---------------------
 drivers/net/bonding/bonding.h   |  2 --
 2 files changed, 22 insertions(+), 25 deletions(-)

-- 
1.8.1.4

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-06-28  5:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-26 15:13 [PATCH net-next 0/3] bonding: struct bonding cleanup and MAC set fixes Nikolay Aleksandrov
2013-06-26 15:13 ` [PATCH net-next 1/3] bonding: remove unnecessary setup_by_slave member Nikolay Aleksandrov
2013-06-26 15:13 ` [PATCH net-next 2/3] bonding: remove unnecessary dev_addr_from_first member Nikolay Aleksandrov
2013-06-26 15:13 ` [PATCH net-next 3/3] bonding: when cloning a MAC use NET_ADDR_STOLEN Nikolay Aleksandrov
2013-06-28  5:51 ` [PATCH net-next 0/3] bonding: struct bonding cleanup and MAC set fixes David Miller

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).