[B.A.T.M.A.N.] [PATCH v7 0/5] batman-adv: prevent multiple ARP replies sent by gateways if dat enabled

2016-09-05 Thread Sven Eckelmann
Hi, this should actually should have ended in the cover letter: The v7 version is just a rebased version of v6 [1] because Marek noticed that these patches don't apply anymore. Kind regards, Sven [1] https://lists.open-mesh.org/pipermail/b.a.t.m.a.n/2016-July/015858.html

[B.A.T.M.A.N.] [PATCH v7 4/5] batman-adv: changed debug messages for easier bla debugging

2016-09-05 Thread Sven Eckelmann
From: Andreas Pape Some of the bla debug messages are extended and additional messages are added for easier bla debugging. Some debug messages introduced with the dat changes in prior patches of this patch series have been changed to be more compliant to other existing

[B.A.T.M.A.N.] [PATCH v7 5/5] batman-adv: handle race condition for claims between gateways

2016-09-05 Thread Sven Eckelmann
From: Andreas Pape Consider the following situation which has been found in a test setup: Gateway B has claimed client C and gateway A has the same backbone network as B. C sends a broad- or multicast to B and directly after this packet decides to send another packet to

[B.A.T.M.A.N.] [PATCH v7 2/5] batman-adv: prevent duplication of ARP replies when DAT is used

2016-09-05 Thread Sven Eckelmann
From: Andreas Pape If none of the backbone gateways in a bla setup has already knowledge of the mac address searched for in an incoming ARP request from the backbone an address resolution via the DHT of DAT is started. The gateway can send several ARP requests to

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

2016-09-05 Thread Sven Eckelmann
From: 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