]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit56219e7c688b72df7bdc4ecb08ea0e3f0fb2d850
tree5ec84f9b3085fd89cf5f8568f3865751afa8ef70
parenta9d39434bb37f8e63d0b9618f94cd466759e0f81
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