Antwort: Re: [B.A.T.M.A.N.] Antwort: Re: [PATCH] batman-adv: handle race condition for claims also in batadv_bla_rx

2019-07-02 Thread Andreas Pape
09.06.2019 13:28:24: > Von: Sven Eckelmann > An: b.a.t.m.a.n@lists.open-mesh.org > Kopie: andreas pape , simon wunderlich > > Datum: 09.06.2019 13:28 > Betreff: Re: [B.A.T.M.A.N.] Antwort: Re: [PATCH] batman-adv: handle > race condition for claims also in batadv_bla_rx > >

[B.A.T.M.A.N.] Antwort: Re: [PATCH] batman-adv: prevent adding of loop detection mac addresses to global tt

2017-06-01 Thread Andreas Pape
Hi Simon, > > I was thinking, if we implement it like this we may still have problems if an > older batman-adv version is adding the ba:be mac addresses locally. > This could > create a problem, because the transmitted tt table is not added completely, > thus the CRC will not match and will lead

[B.A.T.M.A.N.] [PATCH] batman-adv: prevent adding of loop detection mac addresses to global tt

2017-06-01 Thread Andreas Pape
This patch prevents that entries in the global translation table are generated for mac addresses used by loop detection frames. Signed-off-by: Andreas Pape <ap...@phoenixcontact.com> --- net/batman-adv/translation-table.c |6 -- 1 files changed, 4 insertions(+), 2 deletions(-)

[B.A.T.M.A.N.] Antwort: Re: MAC addresses of loop detect frames in global translation-table

2017-06-01 Thread Andreas Pape
> Von: Linus Lüssing > An: The list for a Better Approach To Mobile Ad-hoc Networking > > Datum: 31.05.2017 16:20 > Betreff: Re: [B.A.T.M.A.N.] MAC addresses of loop detect frames in > global translation-table > Gesendet von:

[B.A.T.M.A.N.] MAC addresses of loop detect frames in global translation-table

2017-05-31 Thread Andreas Pape
Hello, I stumbled across some weired MAC addresses starting with ba:be in the global translation-table when running batman-adv-2017.0.1. I run my setup with bla enabled. Most of the entries in the global tt of my devices consist of these mac addresses. Looking through the code they come from

[B.A.T.M.A.N.] Memory leakage

2017-05-19 Thread Andreas Pape
Hi, as far as I could figure out via bisect commit [1] causes a memory leakage as the way how skbs are consumed / freed has been changed since I first developed this patch. This happens in a setup using bla and when the mesh links between mesh nodes sharing a common backbone become very weak and

[B.A.T.M.A.N.] Antwort: Re: [PATCH] batman-adv: handle race condition for claims also in batadv_bla_rx

2017-05-09 Thread Andreas Pape
Hi Simon, > Von: Simon Wunderlich <s...@simonwunderlich.de> > An: Andreas Pape <ap...@phoenixcontact.com> > Kopie: b.a.t.m.a.n@lists.open-mesh.org > Datum: 09.05.2017 17:50 > Betreff: Re: [B.A.T.M.A.N.] [PATCH] batman-adv: handle race > condition for claims also

Re: [B.A.T.M.A.N.] batctl: Work around uclibc collision for __unused

2016-09-15 Thread Andreas Pape
ill be replaced with > the __attribute__((unused)). > > This can be avoided by renaming it to the Linux kernel name > "__maybe_unused". > > Signed-off-by: Sven Eckelmann <s...@narfation.org> Tested-by: Andreas Pape <ap...@phoenixcontact.com> ...

[B.A.T.M.A.N.] Antwort: Re: batctl: problem with #define __unused in main.h

2016-09-15 Thread Andreas Pape
arfation.org> > An: b.a.t.m.a.n@lists.open-mesh.org > Kopie: Andreas Pape <ap...@phoenixcontact.com> > Datum: 15.09.2016 11:19 > Betreff: Re: [B.A.T.M.A.N.] batctl: problem with #define __unused in main.h > > On Donnerstag, 15. September 2016 11:00:03 CEST Andreas Pape wrote: &

[B.A.T.M.A.N.] batctl: problem with #define __unused in main.h

2016-09-15 Thread Andreas Pape
Hello when trying to compile the latest batctl code from the git repository I run into a compiler error (gcc 4.8.5 and eglibc-2.18) . As far as I could figure out the problem is caused by the define of __unused in main.h. In my case I use the libnl-3.2.25 to compile the code. The libnl header

[B.A.T.M.A.N.] [PATCH] batctl: optchar variable uses wrong type

2016-09-15 Thread Andreas Pape
warning. Signed-off-by: Andreas Pape <ap...@phoenixcontact.com> --- tp_meter.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tp_meter.c b/tp_meter.c index 7fe0d56..10dc2b9 100644 --- a/tp_meter.c +++ b/tp_meter.c @@ -395,7 +395,7 @@ int tp_meter(char *mesh_iface, int argc

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

2016-09-07 Thread Andreas Pape
il/b.a.t.m.a.n/2016-July/015858.html [Anhang 'signature.asc' entfernt von Andreas Pape/Phoenix Contact] .. PHOENIX CONTACT ELECTRONICS GmbH Sitz der Gesellschaft / registered office of the company: 31812 Bad Pyrmont USt-Id-Nr.: DE81174

[B.A.T.M.A.N.] [PATCH v6 3/5] batman-adv: drop unicast packets from other backbone gw

2016-07-04 Thread Andreas Pape
Signed-off-by: Andreas Pape <ap...@phoenixcontact.com> Acked-by: Simon Wunderlich <s...@simonwunderlich.de> --- net/batman-adv/routing.c | 25 ++--- 1 files changed, 22 insertions(+), 3 deletions(-) diff --git a/net/batman-adv/routing.c b/net/batman-adv/routi

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

2016-07-04 Thread Andreas Pape
to the backbone. Furthermore it is checked if this gateway has claimed the source of the ARP reply and only forwards it to the backbone if it has claimed the source or if there is no claim at all. Signed-off-by: Andreas Pape <ap...@phoenixcontact.com> Acked-by: Simon Wunderlich <s...@simonwund

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

2016-07-04 Thread Andreas Pape
t;s...@simonwunderlich.de> Signed-off-by: Andreas Pape <ap...@phoenixcontact.com> --- net/batman-adv/bridge_loop_avoidance.c | 18 ++ net/batman-adv/routing.c |2 +- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/ne

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

2016-07-04 Thread Andreas Pape
backbones and slow gateways but fast enough not to break the roaming client use case. Acked-by: Simon Wunderlich <s...@simonwunderlich.de> Signed-off-by: Andreas Pape <ap...@phoenixcontact.com> --- net/batman-adv/bridge_loop_avoidance.c | 20 1 files changed, 16 inse

[B.A.T.M.A.N.] [PATCH v6 0/5] Optimizations for setups running dat and bla

2016-07-04 Thread Andreas Pape
- fixed issues of the patchset not being compiled due to chosen batman options Kind regards, Andreas Andreas Pape (5): batman-adv: prevent multiple ARP replies sent by gateways if dat enabled batman-adv: prevent duplication of ARP replies when DAT is used batman-adv: drop unicas

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

2016-07-04 Thread Andreas Pape
already knows the remote mac searched for in the ARP request. Signed-off-by: Andreas Pape <ap...@phoenixcontact.com> Acked-by: Simon Wunderlich <s...@simonwunderlich.de> --- net/batman-adv/bridge_loop_avoidance.c | 49 net/batman-adv/bridge_loop_avoida

Re: [B.A.T.M.A.N.] [PATCH v5 0/6] Optimizations for setups running dat and bla

2016-06-13 Thread Andreas Pape
Hi Sven, thanks for the feedback. I just realized that I forgot to rebase the patchset before sending it. Could this be the cause? When I try to apply the patches locally to a fresh cloned batman-adv repository, the patches succeeded but some hunks succeed with some offset or fuzz only due to the

[B.A.T.M.A.N.] [PATCH v5 4/6] batman-adv: drop unicast packets from other backbone gw

2016-06-10 Thread Andreas Pape
Signed-off-by: Andreas Pape <ap...@phoenixcontact.com> --- net/batman-adv/routing.c | 25 ++--- 1 files changed, 22 insertions(+), 3 deletions(-) diff --git a/net/batman-adv/routing.c b/net/batman-adv/routing.c index e3857ed..667e2cd 100644 --- a/net/batman-adv/routing

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

2016-06-10 Thread Andreas Pape
t;s...@simonwunderlich.de> Signed-off-by: Andreas Pape <ap...@phoenixcontact.com> --- net/batman-adv/bridge_loop_avoidance.c | 18 ++ net/batman-adv/routing.c |2 +- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/ne

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

2016-06-10 Thread Andreas Pape
backbones and slow gateways but fast enough not to break the roaming client use case. Acked-by: Simon Wunderlich <s...@simonwunderlich.de> Signed-off-by: Andreas Pape <ap...@phoenixcontact.com> --- net/batman-adv/bridge_loop_avoidance.c | 20 1 files changed, 16 inse

[B.A.T.M.A.N.] [PATCH v5 3/6] batman-adv: prevent duplication of ARP replies when DAT is used

2016-06-10 Thread Andreas Pape
to the backbone. Furthermore it is checked if this gateway has claimed the source of the ARP reply and only forwards it to the backbone if it has claimed the source or if there is no claim at all. Signed-off-by: Andreas Pape <ap...@phoenixcontact.com> --- net/batman-adv/distributed-arp-table.c

[B.A.T.M.A.N.] [PATCH v5 2/6] batman-adv: speed up dat by snooping received ip traffic

2016-06-10 Thread Andreas Pape
further reducing ARP traffic in the mesh. Signed-off-by: Andreas Pape <ap...@phoenixcontact.com> --- net/batman-adv/distributed-arp-table.c | 55 net/batman-adv/distributed-arp-table.h |9 +- net/batman-adv/soft-interface.c|3 ++ 3 files c

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

2016-06-10 Thread Andreas Pape
already knows the remote mac searched for in the ARP request. Signed-off-by: Andreas Pape <ap...@phoenixcontact.com> --- net/batman-adv/bridge_loop_avoidance.c | 49 net/batman-adv/bridge_loop_avoidance.h | 11 +++ net/batman-adv/distributed-arp-t

[B.A.T.M.A.N.] [PATCH v5 0/6] Optimizations for setups running dat and bla

2016-06-10 Thread Andreas Pape
an options Kind regards, Andreas Andreas Pape (6): batman-adv: prevent multiple ARP replies sent by gateways if dat enbled batman-adv: speed up dat by snooping received ip traffic batman-adv: prevent duplication of ARP replies when DAT is used batman-adv: drop unicast packets fro

[B.A.T.M.A.N.] Antwort: Re: [PATCHv3 2/6] batman-adv: speed up dat by snooping received ip traffic

2016-05-20 Thread Andreas Pape
5.2016 21:47 > Betreff: Re: [B.A.T.M.A.N.] [PATCHv3 2/6] batman-adv: speed up dat > by snooping received ip traffic > Gesendet von: "B.A.T.M.A.N" <b.a.t.m.a.n-boun...@lists.open-mesh.org> > > On Fri, May 06, 2016 at 10:58:23AM +0200, Andreas Pape wrote: > > +vo

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

2016-05-20 Thread Andreas Pape
Hi Simon, Simon Wunderlich <s...@simonwunderlich.de> schrieb am 18.05.2016 14:32:09: > Von: Simon Wunderlich <s...@simonwunderlich.de> > An: Andreas Pape <ap...@phoenixcontact.com> > Datum: 18.05.2016 14:32 > Betreff: Re: Antwort: Re: [B.A.T.M.A.N.] [PATCH v4 1/6]

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

2016-05-12 Thread Andreas Pape
backbones and slow gateways but fast enough not to break the roaming client use case. Acked-by: Simon Wunderlich <s...@simonwunderlich.de> Signed-off-by: Andreas Pape <ap...@phoenixcontact.com> --- net/batman-adv/bridge_loop_avoidance.c | 20 1 files changed, 16 inse

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

2016-05-12 Thread Andreas Pape
t;s...@simonwunderlich.de> Signed-off-by: Andreas Pape <ap...@phoenixcontact.com> --- net/batman-adv/bridge_loop_avoidance.c | 18 ++ net/batman-adv/routing.c |2 +- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/ne

[B.A.T.M.A.N.] [PATCH v4 4/6] batman-adv: drop unicast packets from other backbone gw

2016-05-12 Thread Andreas Pape
Signed-off-by: Andreas Pape <ap...@phoenixcontact.com> --- net/batman-adv/routing.c | 25 ++--- 1 files changed, 22 insertions(+), 3 deletions(-) diff --git a/net/batman-adv/routing.c b/net/batman-adv/routing.c index e3857ed..667e2cd 100644 --- a/net/batman-adv/routing

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

2016-05-12 Thread Andreas Pape
already knows the remote mac searched for in the ARP request. Signed-off-by: Andreas Pape <ap...@phoenixcontact.com> --- net/batman-adv/bridge_loop_avoidance.c | 49 net/batman-adv/bridge_loop_avoidance.h | 11 +++ net/batman-adv/distributed-arp-t

[B.A.T.M.A.N.] [PATCH v4 3/6] batman-adv: prevent duplication of ARP replies when DAT is used

2016-05-12 Thread Andreas Pape
to the backbone. Furthermore it is checked if this gateway has claimed the source of the ARP reply and only forwards it to the backbone if it has claimed the source or if there is no claim at all. Signed-off-by: Andreas Pape <ap...@phoenixcontact.com> --- net/batman-adv/distributed-arp-table.c

[B.A.T.M.A.N.] [PATCH v4 2/6] batman-adv: speed up dat by snooping received ip traffic

2016-05-12 Thread Andreas Pape
further reducing ARP traffic in the mesh. Signed-off-by: Andreas Pape <ap...@phoenixcontact.com> --- net/batman-adv/distributed-arp-table.c | 50 net/batman-adv/distributed-arp-table.h |9 +- net/batman-adv/soft-interface.c|3 ++ 3 files c

[B.A.T.M.A.N.] [PATCH v4 0/6] batman-adv: Optimizations for setups running dat and bla

2016-05-12 Thread Andreas Pape
patch" - removed automatic claiming during check of a claim - fixed issues of the patchset not being compiled due to chosen batman options Kind regards, Andreas Andreas Pape (6): batman-adv: prevent multiple ARP replies sent by gateways if dat enbled batman-adv: speed up dat

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

2016-05-06 Thread Andreas Pape
backbones and slow gateways but fast enough not to break the roaming client use case. Acked-by: Simon Wunderlich <s...@simonwunderlich.de> Signed-off-by: Andreas Pape <ap...@phoenixcontact.com> --- net/batman-adv/bridge_loop_avoidance.c | 20 1 files changed, 16 inse

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

2016-05-06 Thread Andreas Pape
t;s...@simonwunderlich.de> Signed-off-by: Andreas Pape <ap...@phoenixcontact.com> --- net/batman-adv/bridge_loop_avoidance.c | 18 ++ net/batman-adv/routing.c |2 +- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/ne

[B.A.T.M.A.N.] [PATCHv3 4/6] batman-adv: drop unicast packets from other backbone gw

2016-05-06 Thread Andreas Pape
Acked-by: Simon Wunderlich <s...@simonwunderlich.de> Signed-off-by: Andreas Pape <ap...@phoenixcontact.com> --- net/batman-adv/routing.c | 16 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/net/batman-adv/routing.c b/net/batman-adv/routing.c index ae850

[B.A.T.M.A.N.] [PATCHv3 0/6] batman-adv: Optimizations for setups running dat and bla

2016-05-06 Thread Andreas Pape
This patchset introduces optimizations for batman-adv in setups having several gateways into a common (switched) Ethernet backbone network especially if dat is additionally enabled. Using the current implementation with bla and dat enabled, several problems can be observed in a real setup: 1.

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

2016-05-06 Thread Andreas Pape
already knows the remote mac searched for in the ARP request. Signed-off-by: Andreas Pape <ap...@phoenixcontact.com> --- net/batman-adv/bridge_loop_avoidance.c | 49 net/batman-adv/bridge_loop_avoidance.h | 11 +++ net/batman-adv/distributed-arp-t

Re: [B.A.T.M.A.N.] [PATCH] batman-adv: ELP - use new ethtool_link_get_ksettings API

2016-03-14 Thread Andreas Pape
Hi everybody, "B.A.T.M.A.N" schrieb am 29.02.2016 03:23:42: > Von: Marek Lindner > An: b.a.t.m.a.n@lists.open-mesh.org > Kopie: Antonio Quartulli > Datum: 29.02.2016 03:24 > Betreff: Re: [B.A.T.M.A.N.]

[B.A.T.M.A.N.] Antwort: Re: [PATCHv2 1/7] batman-adv: prevent multiple ARP replies sent by gateways if dat enabled

2016-03-03 Thread Andreas Pape
Hi Antonio, > > > +bool batadv_bla_handle_local_claim(struct batadv_priv *bat_priv, > > + u8 *addr, unsigned short vid) > > +{ > > + struct batadv_bla_claim search_claim; > > + struct batadv_bla_claim *claim = NULL; > > + struct batadv_hard_iface *primary_if = NULL; > > +

[B.A.T.M.A.N.] Antwort: Re: Antwort: Re: [Patchv2 0/7] batman-adv: Optimizations for setups running dat and bla

2016-03-01 Thread Andreas Pape
Hello Sven, Sven Eckelmann schrieb am 27.02.2016 12:40:46: > > Hopefully, Antonio+Simon will find some time next week to add some more > feedback about the way their batman-adv subfeatures (DAT+BLA) are affected by > your patchset. > I will fix your findings in the next

[B.A.T.M.A.N.] Antwort: Re: [PATCHv2 2/7] batman-adv: speed up dat by snooping received ip traffic

2016-03-01 Thread Andreas Pape
Hello Sven, Sven Eckelmann <s...@narfation.org> schrieb am 26.02.2016 17:00:49: > Von: Sven Eckelmann <s...@narfation.org> > An: b.a.t.m.a.n@lists.open-mesh.org > Kopie: Andreas Pape <ap...@phoenixcontact.com>, Marek Lindner > <lindner_ma...@yahoo.de> >

[B.A.T.M.A.N.] Antwort: Re: [Patchv2 0/7] batman-adv: Optimizations for setups running dat and bla

2016-02-27 Thread Andreas Pape
t;s...@narfation.org> schrieb am 26.02.2016 17:20:54: > Von: Sven Eckelmann <s...@narfation.org> > An: b.a.t.m.a.n@lists.open-mesh.org > Kopie: Andreas Pape <ap...@phoenixcontact.com> > Datum: 26.02.2016 17:21 > Betreff: Re: [B.A.T.M.A.N.] [Patchv2 0/7] batman-adv: O

[B.A.T.M.A.N.] Antwort: Re: [Patchv2 0/7] batman-adv: Optimizations for setups running dat and bla

2016-02-27 Thread Andreas Pape
tc. start driving me crazy. Looks as if I don't use a proper editor. Can you recommend one to use before sending patches? > > [1] https://lists.open-mesh.org/pipermail/b.a.t.m.a.n/2016-February/ > thread.html > [Anhang "build-test_andreas-pape_bla-fixes.mbox" gelöscht von >

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

2016-02-26 Thread Andreas Pape
backbones and slow gateways but fast enough not to break the roaming client use case. Signed-off-by: Andreas Pape <ap...@phoenixcontact.com> --- net/batman-adv/bridge_loop_avoidance.c | 20 1 files changed, 16 insertions(+), 4 deletions(-) diff --git a/net/batm

[B.A.T.M.A.N.] [PATCHv2 6/7] batman-adv: bugfix for dat optimiziation patch

2016-02-26 Thread Andreas Pape
Make sure that claiming of devices due to dat handling is only done for non-local mac addresses. As dat is handled after the normal bla code this does not break the roaming client scenario for bla. Signed-off-by: Andreas Pape <ap...@phoenixcontact.com> --- net/batman-adv/bridge_loop_avoid

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

2016-02-26 Thread 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 debug messages. Signed-off-by: Andreas Pape

[B.A.T.M.A.N.] [PATCHv2 2/7] batman-adv: speed up dat by snooping received ip traffic

2016-02-26 Thread Andreas Pape
further reducing ARP traffic in the mesh. Signed-off-by: Andreas Pape <ap...@phoenixcontact.com> --- net/batman-adv/distributed-arp-table.c | 18 ++ net/batman-adv/distributed-arp-table.h |9 - net/batman-adv/soft-interface.c| 22 +- 3

[B.A.T.M.A.N.] [PATCHv2 4/7] batman-adv: drop unicast packets from other backbone gw

2016-02-26 Thread Andreas Pape
Signed-off-by: Andreas Pape <ap...@phoenixcontact.com> --- net/batman-adv/routing.c | 15 +++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/net/batman-adv/routing.c b/net/batman-adv/routing.c index 4dd646a..606fd22 100644 --- a/net/batman-adv/routing.c +++ b/ne

[B.A.T.M.A.N.] [PATCHv2 3/7] batman-adv: prevent duplication of ARP replies when DAT is used

2016-02-26 Thread Andreas Pape
nodes of the mesh. Signed-off-by: Andreas Pape <ap...@phoenixcontact.com> --- net/batman-adv/distributed-arp-table.c | 65 +++- 1 files changed, 64 insertions(+), 1 deletions(-) diff --git a/net/batman-adv/distributed-arp-table.c b/net/batman-adv/distribut

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

2016-02-26 Thread Andreas Pape
already knows the remote mac searched for in the ARP request. Signed-off-by: Andreas Pape <ap...@phoenixcontact.com> --- net/batman-adv/bridge_loop_avoidance.c | 59 net/batman-adv/bridge_loop_avoidance.h |9 + net/batman-adv/distributed-arp-table.c

[B.A.T.M.A.N.] [Patchv2 0/7] batman-adv: Optimizations for setups running dat and bla

2016-02-26 Thread Andreas Pape
This patchset introduces optimizations for batman-adv in setups having several gateways into a common (switched) Ethernet backbone network especially if dat is additionally enabled. Using the current implementation with bla and dat enabled, several problems can be observed in a real setup: 1.

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

2016-02-25 Thread Andreas Pape
mesh.org/build_test.git > [2] https://lists.open-mesh.org/pipermail/linux-merge/2016-February/ > 002983.html > [Anhang "build-test_andreas-pape_bla-fixes.mbox" gelöscht von > Andreas Pape/Phoenix Contact] [Anhang "signature.asc" gelöscht von > Andreas Pape

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

2016-02-24 Thread Andreas Pape
enough not to break the roaming client use case. Signed-off-by: Andreas Pape <ap...@phoenixcontact.com> --- net/batman-adv/bridge_loop_avoidance.c | 20 1 files changed, 16 insertions(+), 4 deletions(-) diff --git a/net/batman-adv/bridge_loop_avoidance.c b/net/batm

[B.A.T.M.A.N.] [PATCH 6/7] batman-adv: bugfix for dat optimization patch

2016-02-24 Thread Andreas Pape
Make sure that claiming of devices due to dat handling is only done for non-local mac addresses. As dat is handled after the normal bla code this should not break the roaming client scenario for dat. Signed-off-by: Andreas Pape <ap...@phoenixcontact.com> --- net/batm

[B.A.T.M.A.N.] [PATCH 4/7] batman-adv: drop unicast packets from backbone gw

2016-02-24 Thread Andreas Pape
This patch drops unicast packets received from another backbone gw of the same backbone network before they are forwarded to the common backbone again. It was observed in a test setup that in rare cases these frames lead to looping unicast traffic backbone->mesh->backbone. Signed-off-by: A

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

2016-02-24 Thread Andreas Pape
Some of the bla debug messages are changed and additional messages are added for easier bla debugging. Some debug messages introduced with the dat changes in prior patches have been changed to be more compliant to other existing debug messages. Signed-off-by: Andreas Pape <

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

2016-02-24 Thread Andreas Pape
gateway starts an address resolution via other dat mesh nodes. In this case it should be prevented that multiple answers from dat enabled mesh nodes reach the backbone gateways leading to multiple replies in a common backbone again. Signed-off-by: Andreas Pape <ap...@phoenixcontact.com> --- net/

[B.A.T.M.A.N.] [PATCH 2/7] batman-adv: speed up dat by snooping received ip traffic

2016-02-24 Thread Andreas Pape
-off-by: Andreas Pape <ap...@phoenixcontact.com> --- net/batman-adv/distributed-arp-table.c | 18 ++ net/batman-adv/distributed-arp-table.h |8 +++- net/batman-adv/soft-interface.c| 22 +- 3 files changed, 46 insertions(+), 2 deletions(-)

[B.A.T.M.A.N.] Antwort: Re: Still looping packets in bla setup

2016-02-21 Thread Andreas Pape
s and some normal pings (a packet a second). The nodes itself have IPv6 enabled although I don't use IPv6 but only IPv4 addressing. The multicasts in question are for destination mac 33:33:00:00:00:01 (IPv6) and are sent each 10 seconds by the IPv6 Linux stack. > What might help is to get dumps fro

[B.A.T.M.A.N.] Still looping packets in bla setup

2016-02-19 Thread Andreas Pape
Hello Simon, I'm still working with my IT department to be able to send the patches in a way compliant to the documentation provided by Sven. In the meantime I reworked the patches, but I am still struggling with the e-mail client issue. Nevertheless if I apply all the patches I sent earlier

Re: [B.A.T.M.A.N.] [PATCH 2/4] batman-adv: Speed up dat by snooping received ip traffic

2016-02-16 Thread Andreas Pape
> > @@ -412,11 +414,28 @@ void batadv_interface_rx(struct net_device > > *soft_iface, > > ethhdr = eth_hdr(skb); > > > > switch (ntohs(ethhdr->h_proto)) { > > + case ETH_P_IP: > > + iphdr = (struct iphdr *)(skb->data + ETH_HLEN); > > + /* snoop

[B.A.T.M.A.N.] Antwort: Re: [PATCH 3/4] batman-adv: prevent duplication of ARP replies in BLA setups when DAT does address resolution

2016-02-16 Thread Andreas Pape
Simon Wunderlich <s...@simonwunderlich.de> schrieb am 15.02.2016 09:27:02: > Von: Simon Wunderlich <s...@simonwunderlich.de> > An: b.a.t.m.a.n@lists.open-mesh.org > Kopie: Andreas Pape <ap...@phoenixcontact.com>, Antonio Quartulli > <a...@unstable.cc> >

[B.A.T.M.A.N.] Antwort: Re: [PATCH 1/4] batman-adv: Prevent mutliple ARP replies sent by gateways in bla setups with dat enabled

2016-02-15 Thread Andreas Pape
underlich.de> > An: b.a.t.m.a.n@lists.open-mesh.org > Kopie: Andreas Pape <ap...@phoenixcontact.com> > Datum: 15.02.2016 09:50 > Betreff: Re: [B.A.T.M.A.N.] [PATCH 1/4] batman-adv: Prevent mutliple > ARP replies sent by gateways in bla setups with dat enabled > > On Fri

[B.A.T.M.A.N.] Antwort: Re: Re: Antwort: Re: Looping unicast packets when using BLA

2016-02-12 Thread Andreas Pape
Hi Simon, Simon Wunderlich <s...@simonwunderlich.de> schrieb am 11.02.2016 12:08:25: > Von: Simon Wunderlich <s...@simonwunderlich.de> > An: Andreas Pape <ap...@phoenixcontact.com> > Kopie: The list for a Better Approach To Mobile Ad-hoc Networking > &l

[B.A.T.M.A.N.] [PATCH 4/4] batman-adv: free skb when dropping broadcast packet received from another backbone gw

2016-02-12 Thread Andreas Pape
From 1cf69fc5b7ffac3193ad8fa4439586c865c5acab Mon Sep 17 00:00:00 2001 From: Andreas Pape <ap...@phoenixcontact.com> Date: Fri, 12 Feb 2016 14:00:53 +0100 Subject: [PATCH 4/4] batman-adv: free skb when dropping broadcast packet received from another backbone gw skb should be

[B.A.T.M.A.N.] [PATCH 1/4] batman-adv: Prevent mutliple ARP replies sent by gateways in bla setups with dat enabled

2016-02-12 Thread Andreas Pape
From 2b90abdf53e9ab09d9acfd141c7225de1ae16719 Mon Sep 17 00:00:00 2001 From: Andreas Pape <ap...@phoenixcontact.com> Date: Fri, 12 Feb 2016 10:05:57 +0100 Subject: [PATCH 1/4] batman-adv: Prevent mutliple ARP replies sent by gateways in bla setups with dat enabled This patch shall mak

[B.A.T.M.A.N.] Antwort: Re: Antwort: Re: Re: Antwort: Re: Looping unicast packets when using BLA

2016-02-12 Thread Andreas Pape
Simon Wunderlich <s...@simonwunderlich.de> schrieb am 12.02.2016 14:04:23: > Von: Simon Wunderlich <s...@simonwunderlich.de> > An: Andreas Pape <ap...@phoenixcontact.com> > Kopie: The list for a Better Approach To Mobile Ad-hoc Networking > <b.a.t.m.a.n@lists.open

[B.A.T.M.A.N.] [PATCH 3/4] batman-adv: prevent duplication of ARP replies in BLA setups when DAT does address resolution

2016-02-12 Thread Andreas Pape
From 2cc1e9eb153d0c2d64cb0fb0747063ba63472925 Mon Sep 17 00:00:00 2001 From: Andreas Pape <ap...@phoenixcontact.com> Date: Fri, 12 Feb 2016 13:19:25 +0100 Subject: [PATCH 3/4] batman-adv: prevent duplication of ARP replies in BLA setups when DAT does address resolution This patch covers th

[B.A.T.M.A.N.] [PATCH 2/4] batman-adv: Speed up dat by snooping received ip traffic

2016-02-12 Thread Andreas Pape
From cc88159dcf18f4b8310414d2d71635fad76bf5bb Mon Sep 17 00:00:00 2001 From: Andreas Pape <ap...@phoenixcontact.com> Date: Fri, 12 Feb 2016 11:03:10 +0100 Subject: [PATCH 2/4] batman-adv: Speed up dat by snooping received ip traffic This patch shall speed up dat by snooping all incom

Re: [B.A.T.M.A.N.] Antwort: Re: Looping unicast packets when using BLA

2016-02-11 Thread Andreas Pape
volunteer for testing and providing ideas for improving the behaviour. Or do you think that I have an issue with my old 2.6.32 kernel? Best regards, Andreas "B.A.T.M.A.N" <b.a.t.m.a.n-boun...@lists.open-mesh.org> schrieb am 09.02.2016 08:01:27: > Von: Andreas Pape <ap

[B.A.T.M.A.N.] Antwort: Re: Looping unicast packets when using BLA

2016-02-08 Thread Andreas Pape
Hi Simon, thanks for the quick reply. Simon Wunderlich <s...@simonwunderlich.de> schrieb am 08.02.2016 13:29:55: > Von: Simon Wunderlich <s...@simonwunderlich.de> > An: b.a.t.m.a.n@lists.open-mesh.org > Kopie: Andreas Pape <ap...@phoenixcontact.com> > Datum:

[B.A.T.M.A.N.] Antwort: Re: [PATCH] batman-adv: bugfix for kernel crash in batadv_tt_local_table_free

2015-03-19 Thread Andreas Pape
: [B.A.T.M.A.N.] [PATCH] batman-adv: bugfix for kernel crash in batadv_tt_local_table_free Gesendet von: B.A.T.M.A.N b.a.t.m.a.n-boun...@lists.open-mesh.org Hi Andreas, On 19/03/15 16:46, Andreas Pape wrote: This missing check lead to a kernel crash when a hard_if is removed on a node

[B.A.T.M.A.N.] [PATCH] batman-adv: bugfix for kernel crash in batadv_tt_local_table_free

2015-03-19 Thread Andreas Pape
This missing check lead to a kernel crash when a hard_if is removed on a node forwarding untagged and tagged traffic (VLANID 0) to and from the mesh network. Signed-off-by: Andreas Pape ap...@phoenixcontact.com --- translation-table.c |6 -- 1 files changed, 4 insertions(+), 2 deletions

Re: [B.A.T.M.A.N.] DAT broken in 2014.4.0?

2015-03-18 Thread Andreas Pape
: Von: Andreas Pape ap...@phoenixcontact.com An: The list for a Better Approach To Mobile Ad-hoc Networking b.a.t.m.a.n@lists.open-mesh.org, Datum: 13.03.2015 15:57 Betreff: Re: [B.A.T.M.A.N.] DAT broken in 2014.4.0? Gesendet von: B.A.T.M.A.N b.a.t.m.a.n-boun...@lists.open-mesh.org Hello

[B.A.T.M.A.N.] DAT broken in 2014.4.0?

2015-03-13 Thread Andreas Pape
Is there a known issue conerning the DAT functionality in batman-adv 2014.4.0? I have got a problem with looping ARP packets / multiplication of ARP packets causing ARP storms in a setup with enabled DAT and BLA. My setup consists of 6 mesh nodes of which 3 are connected to the same backbone

Re: [B.A.T.M.A.N.] Antwort: Re: Antwort: Antwort: Re: Antwort: Re: Question concerning batman-adv bug #173 Mesh packets on bat0

2015-02-19 Thread Andreas Pape
Hi Marek, the problem seems to be a little bit more complex. Your latest patch does not solve the problem. But I found out, that commenting out the following line in your patch makes bat0 work: slave-master = master; But as this is the core of enslaving a device to a master device, this

[B.A.T.M.A.N.] Antwort: Re: Antwort: Re: Question concerning batman-adv bug #173 Mesh packets on bat0

2015-02-18 Thread Andreas Pape
At this point the mesh is working to your expectation ? Can you transport payload across the mesh ? If so, this is a deviation from #173 - wouldn't you agree ? Before adding bat0 to the bridge br0 I can communicate via the mesh interface. I configured ip addresses for the bat0 interfaces on

[B.A.T.M.A.N.] Question concerning batman-adv bug #173 Mesh packets on bat0

2015-02-17 Thread Andreas Pape
version I tested (which was 2014.4.0) even with the old kernel version. Regards, Andreas Pape