All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH iproute2-next] ip/bond: add arp_validate filter support
@ 2021-08-16  7:49 Hangbin Liu
  2021-08-17  1:26 ` Stephen Hemminger
  0 siblings, 1 reply; 3+ messages in thread
From: Hangbin Liu @ 2021-08-16  7:49 UTC (permalink / raw)
  To: netdev; +Cc: David Ahern, Hangbin Liu

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>
---
 ip/iplink_bond.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/ip/iplink_bond.c b/ip/iplink_bond.c
index b01f69a5..59c9e36d 100644
--- a/ip/iplink_bond.c
+++ b/ip/iplink_bond.c
@@ -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"
-- 
2.31.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH iproute2-next] ip/bond: add arp_validate filter support
  2021-08-16  7:49 [PATCH iproute2-next] ip/bond: add arp_validate filter support Hangbin Liu
@ 2021-08-17  1:26 ` Stephen Hemminger
  2021-08-17  2:24   ` Hangbin Liu
  0 siblings, 1 reply; 3+ messages in thread
From: Stephen Hemminger @ 2021-08-17  1:26 UTC (permalink / raw)
  To: Hangbin Liu; +Cc: netdev, David Ahern

On Mon, 16 Aug 2021 15:49:05 +0800
Hangbin Liu <liuhangbin@gmail.com> wrote:

> 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

Since this has been in since 2014, it can skip going to iproute2-next

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH iproute2-next] ip/bond: add arp_validate filter support
  2021-08-17  1:26 ` Stephen Hemminger
@ 2021-08-17  2:24   ` Hangbin Liu
  0 siblings, 0 replies; 3+ messages in thread
From: Hangbin Liu @ 2021-08-17  2:24 UTC (permalink / raw)
  To: Stephen Hemminger; +Cc: netdev, David Ahern

On Mon, Aug 16, 2021 at 06:26:20PM -0700, Stephen Hemminger wrote:
> On Mon, 16 Aug 2021 15:49:05 +0800
> Hangbin Liu <liuhangbin@gmail.com> wrote:
> 
> > 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
> 
> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-08-17  2:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-16  7:49 [PATCH iproute2-next] ip/bond: add arp_validate filter support Hangbin Liu
2021-08-17  1:26 ` Stephen Hemminger
2021-08-17  2:24   ` Hangbin Liu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.