From: Paolo Abeni <pabeni@redhat.com>
Date: Thu, 14 Nov 2024 10:16:30 +0000 (+0100)
Subject: Merge branch 'bonding-fix-ns-targets-not-work-on-hardware-nic'
X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=f8d670b1ae90cb1c5a18a4698c264e96dedc762c;p=users%2Fjedix%2Flinux-maple.git

Merge branch 'bonding-fix-ns-targets-not-work-on-hardware-nic'

Hangbin Liu says:

====================
bonding: fix ns targets not work on hardware NIC

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

Link: https://patch.msgid.link/20241111101650.27685-1-liuhangbin@gmail.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
---

f8d670b1ae90cb1c5a18a4698c264e96dedc762c