ip/bond: add arp_validate filter support

Add arp_validate filter support based on kernel commit 896149ff1b2c
("bonding: extend arp_validate to be able to receive unvalidated arp-only traffic")

Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
This commit is contained in:
Hangbin Liu 2021-08-16 15:49:05 +08:00 committed by Stephen Hemminger
parent 355c49ffa5
commit 3a09567f7d
1 changed files with 4 additions and 1 deletions

View File

@ -41,6 +41,9 @@ static const char *arp_validate_tbl[] = {
"active",
"backup",
"all",
"filter",
"filter_active",
"filter_backup",
NULL,
};
@ -145,7 +148,7 @@ static void print_explain(FILE *f)
" [ ad_actor_system LLADDR ]\n"
"\n"
"BONDMODE := balance-rr|active-backup|balance-xor|broadcast|802.3ad|balance-tlb|balance-alb\n"
"ARP_VALIDATE := none|active|backup|all\n"
"ARP_VALIDATE := none|active|backup|all|filter|filter_active|filter_backup\n"
"ARP_ALL_TARGETS := any|all\n"
"PRIMARY_RESELECT := always|better|failure\n"
"FAIL_OVER_MAC := none|active|follow\n"