[PATCHv4 net 0/2] bonding: fix ns targets not work on hardware NIC

Hangbin Liu posted 2 patches 1 week, 5 days ago
drivers/net/bonding/bond_main.c               | 16 +++-
drivers/net/bonding/bond_options.c            | 82 ++++++++++++++++++-
include/net/bond_options.h                    |  2 +
.../drivers/net/bonding/bond_options.sh       | 54 +++++++++++-
4 files changed, 151 insertions(+), 3 deletions(-)
[PATCHv4 net 0/2] bonding: fix ns targets not work on hardware NIC
Posted by Hangbin Liu 1 week, 5 days ago
The first patch fixed ns targets not work on hardware NIC when bonding
set arp_validate.

The second patch add a related selftest for bonding.

v4: Thanks Nikolay for the comments:
    use bond_slave_ns_maddrs_{add/del} with clear name
    fix comments typos
    remove _slave_set_ns_maddrs underscore directly
    update bond_option_arp_validate_set() change logic
v3: use ndisc_mc_map to convert the mcast mac address (Jay Vosburgh)
v2: only add/del mcast group on backup slaves when arp_validate is set (Jay Vosburgh)
    arp_validate doesn't support 3ad, tlb, alb. So let's only do it on ab mode.

Hangbin Liu (2):
  bonding: add ns target multicast address to slave device
  selftests: bonding: add ns multicast group testing

 drivers/net/bonding/bond_main.c               | 16 +++-
 drivers/net/bonding/bond_options.c            | 82 ++++++++++++++++++-
 include/net/bond_options.h                    |  2 +
 .../drivers/net/bonding/bond_options.sh       | 54 +++++++++++-
 4 files changed, 151 insertions(+), 3 deletions(-)

-- 
2.46.0