bonding: struct bonding cleanup and MAC set fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | bonding: remove unnecessary setup_by_slave memberdrivers/ drivers/ | +1 | 0 replies | |
| 2/3 | bonding: remove unnecessary dev_addr_from_first memberdrivers/ drivers/ | +2 | 0 replies | |
| 3/3 | bonding: when cloning a MAC use NET_ADDR_STOLENdrivers/ | +19 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH net-next 0/3] bonding: struct bonding cleanup and MAC set fixes
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(-)
Signature · 1 line
1.8.1.4