Re: [B.A.T.M.A.N.] [PATCH] batman-adv: Fix crash on module shutdown with multiple ifaces

2011-04-16 Thread Sven Eckelmann
Sven Eckelmann wrote: Linus Lüssing wrote: hardif_remove_interfaces() removes all hard interfaces from the hardif_list before freeing and cleaning up any device. However the clean up procedures in orig_hash_del_if() (hardif_remove_interface()-hardif_disable_interface()-

[B.A.T.M.A.N.] [PATCHv2] batman-adv: orig_hash_find() manages rcu_lock/unlock internally

2011-04-16 Thread Antonio Quartulli
orig_hash_find() manages rcu_lock/unlock internally and doesn't need to be surrounded by rcu_read_lock() / rcu_read_unlock() anymore Signed-off-by: Antonio Quartulli or...@autistici.org --- routing.c |6 -- 1 files changed, 0 insertions(+), 6 deletions(-) diff --git a/routing.c

Re: [B.A.T.M.A.N.] Batman-adv hna balancing

2011-04-16 Thread Marek Lindner
On Friday 15 April 2011 13:03:26 Gioacchino Mazzurco wrote: I think batman shouldn't handle mac duplication as conflict but simply act as the two nodes see the same clients, like olsrd do when multiple nodes announces the same hna The HNA IP addresses have the same functionality as (HNA) mac

Re: [B.A.T.M.A.N.] Batman-adv hna balancing

2011-04-16 Thread Marek Lindner
Hi, Here you can see our topology, there is two nodes at moment they are connected to the same switch and should see same hnas but they are announced mostly by one of the two http://eigenlab.org/batman-adv_status.php If i turn off the cc:c8 node the hna pass to the other nodes but when i

[B.A.T.M.A.N.] [PATCHv3] batman-adv: orig_hash_find() manages rcu_lock/unlock internally

2011-04-16 Thread Antonio Quartulli
orig_hash_find() manages rcu_lock/unlock internally and doesn't need to be surrounded by rcu_read_lock() / rcu_read_unlock() anymore Signed-off-by: Antonio Quartulli or...@autistici.org --- routing.c | 16 ++-- 1 files changed, 2 insertions(+), 14 deletions(-) diff --git

Re: [B.A.T.M.A.N.] Batman-adv hna balancing

2011-04-16 Thread Gioacchino Mazzurco
ok understood many thanks! 2011/4/16 Marek Lindner lindner_ma...@yahoo.de: Hi, Here you can see our topology, there is two nodes at moment they are connected to the same switch and should see same hnas but they are announced mostly by one of the two