[B.A.T.M.A.N.] [PATCH] batman-adv: fix counter summary length

2012-06-23 Thread Marek Lindner
Signed-off-by: Marek Lindner lindner_ma...@yahoo.de --- main.h |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/main.h b/main.h index e76f9c6..6dca9c4 100644 --- a/main.h +++ b/main.h @@ -267,9 +267,8 @@ static inline void batadv_add_counter(struct batadv_priv

[B.A.T.M.A.N.] [PATCH] batman-adv: convert remaining packet counters to per_cpu_ptr() infrastructure

2012-06-23 Thread Marek Lindner
Signed-off-by: Marek Lindner lindner_ma...@yahoo.de --- bridge_loop_avoidance.c |5 ++- soft-interface.c| 50 +++ types.h |5 3 files changed, 41 insertions(+), 19 deletions(-) diff --git a/bridge_loop_avoidance.c

[B.A.T.M.A.N.] [PATCH 1/2] batman-adv: correct comments in bridge loop avoidance

2012-06-23 Thread Simon Wunderlich
Signed-off-by: Simon Wunderlich s...@hrz.tu-chemnitz.de --- bridge_loop_avoidance.c |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bridge_loop_avoidance.c b/bridge_loop_avoidance.c index 38aab1e..a61bb74 100644 --- a/bridge_loop_avoidance.c +++

[B.A.T.M.A.N.] [PATCH 2/2] batman-adv: rename bridge loop avoidance claim types

2012-06-23 Thread Simon Wunderlich
for consistency reasons within the code and with the documentation, we should always call it claim and unclaim. Signed-off-by: Simon Wunderlich s...@hrz.tu-chemnitz.de --- bridge_loop_avoidance.c | 18 +- packet.h|4 ++-- 2 files changed, 11 insertions(+),

[B.A.T.M.A.N.] [PATCH 2/2 net] batman-adv: fix race condition in TT full-table replacement

2012-06-23 Thread Antonio Quartulli
bug introduced with cea194d90b11aff7fc289149e4c7f305fad3535a In the current TT code, when a TT_Response containing a full table is received from an originator, first the node purges all the clients for that originator in the global translation-table and then merges the newly received table.

[B.A.T.M.A.N.] [PATCH 0/2 net] Bug fixes for batman-adv 2012-06-23

2012-06-23 Thread Antonio Quartulli
Hello David, here are two fixes intended for net/linux-3.5. Patch 1 is a fix for the AP-Isolation feature. A wrong check made all the broadcast packets coming from any client be dropped before delivery to the interface. Patch 2 instead fixes a real race condition in the TranslationTable code.

[B.A.T.M.A.N.] [PATCH 1/2 net] batman-adv: only drop packets of known wifi clients

2012-06-23 Thread Antonio Quartulli
From: Marek Lindner lindner_ma...@yahoo.de bug introduced with 59b699cdee039d75915c354da06937102d1f9a84 If the source or destination mac address of an ethernet packet could not be found in the translation table the packet was dropped if AP isolation was turned on. This behavior would make it

Re: [B.A.T.M.A.N.] [PATCH 0/2 net] Bug fixes for batman-adv 2012-06-23

2012-06-23 Thread Antonio Quartulli
On Sat, Jun 23, 2012 at 05:30:57 +0200, Antonio Quartulli wrote: Hello David, here are two fixes intended for net/linux-3.5. Patch 1 is a fix for the AP-Isolation feature. A wrong check made all the broadcast packets coming from any client be dropped before delivery to the interface.

[B.A.T.M.A.N.] [PATCH 1/3] batctl: unify debug table handling and remove redundant code

2012-06-23 Thread Marek Lindner
Signed-off-by: Marek Lindner lindner_ma...@yahoo.de --- debug.c | 111 +-- debug.h | 27 +++ main.c | 74 +- main.h |5 +++ 4 files changed, 105 insertions(+), 112

[B.A.T.M.A.N.] [PATCH 2/3] batctl: unify settings handling and remove redundant code

2012-06-23 Thread Marek Lindner
Signed-off-by: Marek Lindner lindner_ma...@yahoo.de --- functions.c |2 +- main.c | 67 +++--- main.h |1 + sys.c | 131 -- sys.h | 30 +- 5 files changed, 118

[B.A.T.M.A.N.] [PATCH 3/3] batctl: beef up man page

2012-06-23 Thread Marek Lindner
Signed-off-by: Marek Lindner lindner_ma...@yahoo.de --- README | 14 ++-- bisect.c |4 +- debug.c |8 +- main.c |4 +- man/batctl.8 | 251 +++--- ping.c |4 +- sys.c| 12 ++-- tcpdump.c