[B.A.T.M.A.N.] [PATCH] batman-adv: Move definition of atomic_dec_not_zero() into main.h

2011-04-20 Thread Antonio Quartulli
atomic_dec_not_zero() is very usefull and it is currently defined multiple times. So it is possible to move it in main.h --- aggregation.c |1 - main.h|2 ++ send.c|1 - 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/aggregation.c b/aggregation.c index

Re: [B.A.T.M.A.N.] [PATCH] batman-adv: Move definition of atomic_dec_not_zero() into main.h

2011-04-20 Thread Sven Eckelmann
On Wednesday 20 April 2011 08:54:39 Antonio Quartulli wrote: atomic_dec_not_zero() is very usefull and it is currently defined multiple times. So it is possible to move it in main.h I would prefer useful and a Signed-off-by: line. For the rest of the patch: Acked-by: Sven Eckelmann

[B.A.T.M.A.N.] [PATCHv2] batman-adv: Move definition of atomic_dec_not_zero() into main.h

2011-04-20 Thread Antonio Quartulli
atomic_dec_not_zero() is very useful and it is currently defined multiple times. So it is possible to move it in main.h Signed-off-by: Antonio Quartulli or...@autistici.org Acked-by: Sven Eckelmann s...@narfation.org --- aggregation.c |1 - main.h|2 ++ send.c|1 - 3

Re: [B.A.T.M.A.N.] [PATCH] net: batman-adv: remove rx_csum ethtool_ops

2011-04-20 Thread David Miller
From: Michał Mirosław mirq-li...@rere.qmqm.pl Date: Tue, 19 Apr 2011 12:43:20 +0200 (CEST) Signed-off-by: Michał Mirosław mirq-li...@rere.qmqm.pl Applied.

[B.A.T.M.A.N.] Fwd: small hw running b.a.t.m.a.n

2011-04-20 Thread f campos
Hi ! Can the forum give feedback on the smallest embedded hw running b.a.t.m.a.n ? do you have digikey/stores link for that  ? Filipe

Re: [B.A.T.M.A.N.] [PATCHv2] batman-adv: Move definition of atomic_dec_not_zero() into main.h

2011-04-20 Thread Marek Lindner
On Wednesday 20 April 2011 09:52:56 Antonio Quartulli wrote: atomic_dec_not_zero() is very useful and it is currently defined multiple times. So it is possible to move it in main.h Signed-off-by: Antonio Quartulli or...@autistici.org Acked-by: Sven Eckelmann s...@narfation.org Applied in

[B.A.T.M.A.N.] [PATCH] batman-adv: Make bat_priv-primary_if an rcu protected pointer

2011-04-20 Thread Marek Lindner
The rcu protected macros rcu_dereference() and rcu_assign_pointer() for the bat_priv-primary_if need to be used, as well as spin/rcu locking. Otherwise we might end up using a primary_if pointer pointing to already freed memory. Signed-off-by: Marek Lindner lindner_ma...@yahoo.de ---

[B.A.T.M.A.N.] batman doesn't see neigh on wired lan

2011-04-20 Thread Gioacchino Mazzurco
Hi! Here in Pisa we are experiencing a big problem! Nodes doesn't see each other on cable! below is some data from the 2 nodes As you can see nodes receives each other BAT packets but don't see each other as neighbor... also batctl tr can confirm it... what is happening? NODE_1

Re: [B.A.T.M.A.N.] batman doesn't see neigh on wired lan

2011-04-20 Thread Marek Lindner
On Wednesday 20 April 2011 22:39:30 Gioacchino Mazzurco wrote: Here in Pisa we are experiencing a big problem! Nodes doesn't see each other on cable! below is some data from the 2 nodes As you can see nodes receives each other BAT packets but don't see each other as neighbor... also

Re: [B.A.T.M.A.N.] batman-adv 2011.1.0 released

2011-04-20 Thread Gioacchino Mazzurco
Update some nodes to this version will cause compatibility problem with previous version ? 2011/4/19 Marek Lindner lindner_ma...@yahoo.de: The B.A.T.M.A.N. team is publishing its second 2011 release - 2011.1.0, containing major code changes under the hood to improve performance and

Re: [B.A.T.M.A.N.] batman-adv 2011.1.0 released

2011-04-20 Thread Marek Lindner
On Thursday 21 April 2011 00:07:05 Gioacchino Mazzurco wrote: Update some nodes to this version will cause compatibility problem with previous version ? No, the protocol did not change. Regards, Marek

Re: [B.A.T.M.A.N.] batman-adv 2011.1.0 released

2011-04-20 Thread Gioacchino Mazzurco
many thanks, so I can upgrade my nodes without concern ;) 2011/4/21 Marek Lindner lindner_ma...@yahoo.de: On Thursday 21 April 2011 00:07:05 Gioacchino Mazzurco wrote: Update some nodes to this version will cause compatibility problem with previous version ? No, the protocol did not change.