bonding: add new parameter ns_targets
authorHangbin Liu <liuhangbin@gmail.com>
Mon, 21 Feb 2022 05:54:56 +0000 (13:54 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Feb 2022 12:13:45 +0000 (12:13 +0000)
commit4e24be018eb9dbcefa4b01c07e298b147dc1a4d7
tree5ec84f9b3085fd89cf5f8568f3865751afa8ef70
parent841e95641e4cb695586b036f330d6d272fcd7173
bonding: add new parameter ns_targets

Add a new bonding parameter ns_targets to store IPv6 address.
Add required bond_ns_send/rcv functions first before adding
IPv6 address option setting.

Add two functions bond_send/rcv_validate so we can send/recv
ARP and NS at the same time.

Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_main.c
drivers/net/bonding/bond_options.c
include/net/bonding.h