Re: [B.A.T.M.A.N.] [PATCH v4 1/6] batman-adv: prevent multiple ARP replies sent by gateways if dat enbled

2016-05-13 Thread Simon Wunderlich
On Thursday 12 May 2016 08:31:32 Andreas Pape wrote: > @@ -1003,6 +1004,20 @@ bool batadv_dat_snoop_outgoing_arp_request(struct > batadv_priv *bat_priv, goto out; > } > > + /* If BLA is enabled, only send ARP replies if we have claimed > + * the destination f

Re: [B.A.T.M.A.N.] [PATCH v4 1/6] batman-adv: prevent multiple ARP replies sent by gateways if dat enbled

2016-05-13 Thread Sven Eckelmann
> --- a/net/batman-adv/distributed-arp-table.c > +++ b/net/batman-adv/distributed-arp-table.c > @@ -48,6 +48,7 @@ > #include "originator.h" > #include "send.h" > #include "translation-table.h" > +#include "bridge_loop_avoidance.h" Please try to keep the includes in alphabetical order like this:

[B.A.T.M.A.N.] [PATCH v4 1/6] batman-adv: prevent multiple ARP replies sent by gateways if dat enbled

2016-05-11 Thread Andreas Pape
If dat is enabled it must be made sure that only the backbone gw which has claimed the remote destination for the ARP request answers the ARP request directly if the MAC address is known due to the local dat table. This prevents multiple ARP replies in a common backbone if more than one gateway alr