ip/bond: add arp_validate filter support
Subsystems (2)
PATCH 1/1 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 <[email protected]>
--- ip/iplink_bond.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
ip/iplink_bond.c +4 -1
@@ -41,6 +41,9 @@ static const char *arp_validate_tbl[] = {"active" ,"backup" ,"all" , +"filter" , +"filter_active" , +"filter_backup" , NULL, };
@@ -152,7 +155,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"
Signature · 1 line
2.31.1
Quoted 4 lines · On Mon, 16 Aug 2021 15:49:05 +0800 Hangbin Liu <[email protected]> wrote:
Add
arp_validatefilter support based on kernel commit896149ff1b2c("bonding: extendarp_validateto be able to receive unvalidated arp-only traffic")Signed-off-by Hangbin Liu <[email protected]
Since this has been in since 2014, it can skip going to iproute2-next
Quoted 9 lines · Stephen Hemminger
Quoted 4 lines · On Mon, 16 Aug 2021 15:49:05 +0800 Hangbin Liu <[email protected]> wrote:
Add
arp_validatefilter support based on kernel commit896149ff1b2c("bonding: extendarp_validateto be able to receive unvalidated arp-only traffic")Signed-off-by Hangbin Liu <[email protected]Since this has been in since 2014, it can skip going to iproute2-next
Fine with me. I thought all new features need to be submitted to -next branch first.
Thanks
Hangbin