public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
* [B.A.T.M.A.N.] (no subject)
@ 2007-12-11  1:37 giuseppe de marco
  2007-12-11  2:03 ` Alexander Morlang
                   ` (3 more replies)
  0 siblings, 4 replies; 20+ messages in thread
From: giuseppe de marco @ 2007-12-11  1:37 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

Anybody know a good embedded harware to use for test batman?
G

-- 
Giuseppe De Marco, PhD
Toyota Technological Institute
468-8511 Aichi 2-12-1 Hisakata, Tenpaku-ku, 
Nagoya, Japan
Email: demarco at toyota-ti dot ac dot jp
Tel (int): +81 (052)-809-1802
Skype-Id: giuseppe_dem2


^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [B.A.T.M.A.N.] (no subject)
  2007-12-11  1:37 giuseppe de marco
@ 2007-12-11  2:03 ` Alexander Morlang
  2007-12-11  5:18 ` a.anselmi
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 20+ messages in thread
From: Alexander Morlang @ 2007-12-11  2:03 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



giuseppe de marco schrieb:
> Anybody know a good embedded harware to use for test batman?

any hardware supported by OpenWrt: http://wiki.openwrt.org/TableOfHardware

> G
> 

Alx
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHXe/thx2RbV7T5aERAjfjAKCbp34yFUhTUC56pPLDKE5UTO5EqACgmoR9
173GYqopFn0NMa8UzeY6at0=
=qYSn
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [B.A.T.M.A.N.] (no subject)
  2007-12-11  1:37 giuseppe de marco
  2007-12-11  2:03 ` Alexander Morlang
@ 2007-12-11  5:18 ` a.anselmi
  2007-12-11 17:23 ` elektra
  2007-12-11 18:43 ` Steven Leeman
  3 siblings, 0 replies; 20+ messages in thread
From: a.anselmi @ 2007-12-11  5:18 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

BATMAN is the core algorithm in the ROBIN project (ROuting Batman INside)
http://www.blogin.it. ROBIN is an Open Source mesh network running on
Atheros AP51 routers such as Meraki Mini and La Fonera and developed in
Italy.

-- Antonio

> Anybody know a good embedded harware to use for test batman?
> G
>
> --
> Giuseppe De Marco, PhD
> Toyota Technological Institute
> 468-8511 Aichi 2-12-1 Hisakata, Tenpaku-ku,
> Nagoya, Japan
> Email: demarco at toyota-ti dot ac dot jp
> Tel (int): +81 (052)-809-1802
> Skype-Id: giuseppe_dem2
>
> _______________________________________________
> B.A.T.M.A.N mailing list
> B.A.T.M.A.N@open-mesh.net
> https://list.open-mesh.net/mm/listinfo/b.a.t.m.a.n
>



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [B.A.T.M.A.N.] (no subject)
  2007-12-11  1:37 giuseppe de marco
  2007-12-11  2:03 ` Alexander Morlang
  2007-12-11  5:18 ` a.anselmi
@ 2007-12-11 17:23 ` elektra
  2007-12-11 18:43 ` Steven Leeman
  3 siblings, 0 replies; 20+ messages in thread
From: elektra @ 2007-12-11 17:23 UTC (permalink / raw)
  To: b.a.t.m.a.n

On Tuesday 11 December 2007 02:37:30 giuseppe de marco wrote:
> Anybody know a good embedded harware to use for test batman?
> G

Recommended: Embedded router with broadcom chipset - Buffalo WHR-G54S, Linksys 
WRT54GL or similar, running OpenWRT. Proprietary broadcom driver works best 
in ad-hoc mode. This is stress-tested with up to 30 neighbors in Freifunk 
mesh networks. If you have mains power, Buffalo is much cheaper. If you want 
to power with batteries/solarpower use the Linksys.

cu elektra

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [B.A.T.M.A.N.] (no subject)
  2007-12-11  1:37 giuseppe de marco
                   ` (2 preceding siblings ...)
  2007-12-11 17:23 ` elektra
@ 2007-12-11 18:43 ` Steven Leeman
  3 siblings, 0 replies; 20+ messages in thread
From: Steven Leeman @ 2007-12-11 18:43 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

[-- Attachment #1: Type: text/plain, Size: 282 bytes --]

On Dec 11, 2007 2:37 AM, giuseppe de marco <demarco@toyota-ti.ac.jp> wrote:

> Anybody know a good embedded harware to use for test batman?
>

The foneras work excellent with the Robin firmware to test batman on.
They are currently sold at 10euro's incl shipping/taxes in Europe...

[-- Attachment #2: Type: text/html, Size: 543 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [B.A.T.M.A.N.] (no subject)
@ 2010-08-22 20:53 Linus Lüssing
  0 siblings, 0 replies; 20+ messages in thread
From: Linus Lüssing @ 2010-08-22 20:53 UTC (permalink / raw)
  To: b.a.t.m.a.n; +Cc: Vasiliy Kulikov


-------------
Hi Linus,

On Wed, Aug 18, 2010 at 00:10 +0200, Linus Lüssing wrote:
> Hi Vasiliy,
>
> Also first of all thanks for your little reviewing of the batman code from
> me too. I've been the person submitting the patch to enable ebtables
> filtering of batman-adv's packets.Sorry, I'm not a kernel coding veteran, so
> I might possibly have missed something ;). However, I don't fully understand
> when the skb should be leaked, so hope you don't mind some more asking from
> my side :).
>
> Okay, I had a little closer look again.NF_HOOK returns -1 in case of a drop
> due to nf_hook_slow() and 1 in case of a success due to nf_hook_slow() + the
> ok function returning 1 too. And hey, yes, nf_hook_slow() can also return 0,
> passing it all up to the NF_HOOK which would lead to the goto err_out in
> batman-adv - and both the kernel module and netfilter won't free the skb!
> However, I think I'm not quite getting when nf_hook_slow() might return 0...

The thing is that code using NF_HOOK should be written in functional
paradigm: the recv() should be divided into 2 functions, before the NF_HOOK
and after. All after-nf work should be delegated to second part, not to code in
first part that is run after NF_HOOK return. It solves the problem of asyncronous
processing in hooks. It is perferctly seen in ipv4 ip_rcv() & rp_rcv_finish().

>
> What confuses me even more is, that of course if nf_hook_slow() could return
> a value other than 1 and without freeing the skb, the batman-adv kernel
> module would have to free the skb itself in send.c, too. In send.c the
> return value of NF_HOOK is being returned there immediately without a check
> at the moment, hoping that either netfilter or dev_queue_xmit() would free
> the skb. But then net/ipv4/arp.c's arp_xmit() would have the same problem,
> too, wouldn't it? It also does not check whether the
> NF_HOOK(/nf_hook_slow()) there might return 0 either, meaning that the skb
> has not yet been consumed/freed? So is there the same bug / possible memleak
> or what is the difference between ipv4's arp.c and batman-adv's
> send.c/hard_interface.c in the usage of the NF_HOOK?

No, there isn't ;) In fact, for the caller of NF_HOOK() three cases may
happed:


1) All hooks return NF_ACCEPT or similar (NF_STOP or through
 NF_QUEUE/NF_REPEAT with the same result). In this case ok_fn() is called
 and code after return from NF_HOOK() is run.

 In case of arp dev_queue_xmit() processes the skb and free it.

 In your case ok_fn() does nothing and code after return from NF_HOOK()
 finishes the processing of skb.


2) Some hook returns NF_DROP or similar (like (1), with the same
 effect for the caller). In this case nf_hook_slow() frees skb and NF_HOOK()
 returns -1. ok_fn() is not called at all.

 Arp and batman don't leak anything as skb is freed.


3) Some hook returns NF_STOLEN signaling that now it is responsible for
 skb delivery and freeing. It can be stolen until some long
 calculations end or even some network communication is finished (e.g.
 hook wants to know whether skb dest ip is google.com)

 a) After some time the hook frees skb and doesn't call ok_fn().

   arp and you don't leak anything and work exactly like NF_HOOK() retuned
   NF_DROPPED.

 b) After some time the hook finishes calcs and passes the skb to
 ok_fn(). From this time ok_fn() is responsible for the skb.

   In arp case it is dev_queue_xmit() that frees skb.

   In batman case it does NOTHING and skb is leaked.


Also see the comment from linux/netfilter.h:

/* Activate hook; either okfn or kfree_skb called, unless a hook
  returns NF_STOLEN (in which case, it's up to the hook to deal with
  the consequences).

  Returns -ERRNO if packet dropped.  Zero means queued, stolen or
  accepted.
*/

/* RR:
  > I don't want nf_hook to return anything because people might forget
  > about async and trust the return value to mean "packet was ok".

  AK:
  Just document it clearly, then you can expect some sense from kernel
  coders :)
*/


Thanks,
Vasiliy.

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [B.A.T.M.A.N.] (no subject)
@ 2010-09-30 12:08 Marek Lindner
  2010-10-09 11:44 ` Marek Lindner
  0 siblings, 1 reply; 20+ messages in thread
From: Marek Lindner @ 2010-09-30 12:08 UTC (permalink / raw)
  To: b.a.t.m.a.n

Hi,

since the vis code and the bridge loop avoidance code already use
the kref library functions, I converted the remaining refcounting
code to use kref as well.

Regards,
Marek

Marek Lindner (4):
      batman-adv: convert gw_node custom refcounting to kref functions
      batman-adv: use rcu callbacks when freeing gw_nodes
      batman-adv: convert batman_if custom refcounting to kref functions
      batman-adv: use rcu callbacks when freeing batman_if

 batman-adv/bat_sysfs.c      |   12 ++++++------
 batman-adv/gateway_client.c |   30 ++++++++++++++++--------------
 batman-adv/hard-interface.c |   41 +++++++++++++++++++++++------------------
 batman-adv/hard-interface.h |   13 ++++---------
 batman-adv/types.h          |    6 ++++--
 5 files changed, 53 insertions(+), 49 deletions(-)

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [B.A.T.M.A.N.] (no subject)
  2010-09-30 12:08 Marek Lindner
@ 2010-10-09 11:44 ` Marek Lindner
  0 siblings, 0 replies; 20+ messages in thread
From: Marek Lindner @ 2010-10-09 11:44 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

On Thursday 30 September 2010 14:08:40 Marek Lindner wrote:
> since the vis code and the bridge loop avoidance code already use
> the kref library functions, I converted the remaining refcounting
> code to use kref as well.

These patches also got applied (revision 1818-1821).

Regards,
Marek

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [B.A.T.M.A.N.] (no subject)
  2010-12-07 14:39 [B.A.T.M.A.N.] [PATCH 10/10] batman-adv: Use local tq values determined by NDP on OGMs Linus Lüssing
@ 2010-12-07 20:19 ` Linus Lüssing
  0 siblings, 0 replies; 20+ messages in thread
From: Linus Lüssing @ 2010-12-07 20:19 UTC (permalink / raw)
  To: b.a.t.m.a.n

Fixing a mixup with the link quality used for the asymmetric hop penalty.
This should be the local_rq, not local_tq.

Cheers, Linus

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [B.A.T.M.A.N.] (no subject)
  2011-05-02 19:19 [B.A.T.M.A.N.] [PATCHv4 1/2] batman-adv: Remove unnecessary hardif_list_lock Sven Eckelmann
@ 2011-05-03  9:51 ` Linus Lüssing
  2011-05-03 12:40   ` Sven Eckelmann
  0 siblings, 1 reply; 20+ messages in thread
From: Linus Lüssing @ 2011-05-03  9:51 UTC (permalink / raw)
  To: b.a.t.m.a.n

With that tiny change, it now all works as expected and the patch 1/2 can also
be used and verified without having to add patch 2/2 as well. Hope I'm not
getting too picky :D.

Thanks for your effort again, Sven!

Cheers, Linus

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [B.A.T.M.A.N.] (no subject)
  2011-05-03  9:51 ` [B.A.T.M.A.N.] (no subject) Linus Lüssing
@ 2011-05-03 12:40   ` Sven Eckelmann
  0 siblings, 0 replies; 20+ messages in thread
From: Sven Eckelmann @ 2011-05-03 12:40 UTC (permalink / raw)
  To: b.a.t.m.a.n

[-- Attachment #1: Type: Text/Plain, Size: 394 bytes --]

On Tuesday 03 May 2011 11:51:37 Linus Lüssing wrote:
> With that tiny change, it now all works as expected and the patch 1/2 can
> also be used and verified without having to add patch 2/2 as well. Hope
> I'm not getting too picky :D.
> 
> Thanks for your effort again, Sven!

No, I am very happy with your changes. I think that it can be applied with 
your changes.

thanks,
	Sven

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [B.A.T.M.A.N.] (no subject)
       [not found] <pull request for net: batman-adv 2013-05-21>
@ 2013-05-21 19:53 ` Antonio Quartulli
  2013-05-21 19:53   ` [B.A.T.M.A.N.] [PATCH] batman-adv: Avoid double freeing of bat_counters Antonio Quartulli
  2013-05-21 19:56   ` [B.A.T.M.A.N.] (no subject) Antonio Quartulli
  0 siblings, 2 replies; 20+ messages in thread
From: Antonio Quartulli @ 2013-05-21 19:53 UTC (permalink / raw)
  To: davem; +Cc: netdev, b.a.t.m.a.n

Hello David,

this is another small patch for net/linux-3.10. It is preventing a double free
of the bat_counters in case of mesh initialisation failure.

Sorry for sending such small pull requests (I guess this is not that bad since
they target net :-)), but these are small glitches we are finding while testing
new features.

Please pull or let me know if there is any problem.

Thanks a lot,
	Antonio


The following changes since commit 3ccfc1b1d2fa78f8ece83646027982916fcc794b:

  Merge branch 'for-davem' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless (2013-05-20 14:05:22 -0700)

are available in the git repository at:


  git://git.open-mesh.org/linux-merge.git tags/batman-adv-fix-for-davem

for you to fetch changes up to f69ae770e74df420fbcf93aae81b30a5dcc73b7d:

  batman-adv: Avoid double freeing of bat_counters (2013-05-21 21:34:36 +0200)

----------------------------------------------------------------
Included change:
- fix double free in case of failure during mesh initialisation

----------------------------------------------------------------
Martin Hundebøll (1):
      batman-adv: Avoid double freeing of bat_counters

 net/batman-adv/main.c           | 1 +
 net/batman-adv/soft-interface.c | 1 +
 2 files changed, 2 insertions(+)


^ permalink raw reply	[flat|nested] 20+ messages in thread

* [B.A.T.M.A.N.] [PATCH] batman-adv: Avoid double freeing of bat_counters
  2013-05-21 19:53 ` [B.A.T.M.A.N.] (no subject) Antonio Quartulli
@ 2013-05-21 19:53   ` Antonio Quartulli
  2013-05-21 19:56   ` [B.A.T.M.A.N.] (no subject) Antonio Quartulli
  1 sibling, 0 replies; 20+ messages in thread
From: Antonio Quartulli @ 2013-05-21 19:53 UTC (permalink / raw)
  To: davem
  Cc: netdev, Martin Hundebøll, b.a.t.m.a.n, Marek Lindner,
	Antonio Quartulli

From: Martin Hundebøll <martin@hundeboll.net>

On errors in batadv_mesh_init(), bat_counters will be freed in both
batadv_mesh_free() and batadv_softif_init_late(). This patch fixes this
by returning earlier from batadv_softif_init_late() in case of errors in
batadv_mesh_init() and by setting bat_counters to NULL after freeing.

Signed-off-by: Martin Hundebøll <martin@hundeboll.net>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
---
 net/batman-adv/main.c           | 1 +
 net/batman-adv/soft-interface.c | 1 +
 2 files changed, 2 insertions(+)

diff --git a/net/batman-adv/main.c b/net/batman-adv/main.c
index 1240f07..51aafd6 100644
--- a/net/batman-adv/main.c
+++ b/net/batman-adv/main.c
@@ -181,6 +181,7 @@ void batadv_mesh_free(struct net_device *soft_iface)
 	batadv_originator_free(bat_priv);
 
 	free_percpu(bat_priv->bat_counters);
+	bat_priv->bat_counters = NULL;
 
 	atomic_set(&bat_priv->mesh_state, BATADV_MESH_INACTIVE);
 }
diff --git a/net/batman-adv/soft-interface.c b/net/batman-adv/soft-interface.c
index 6f20d33..819dfb0 100644
--- a/net/batman-adv/soft-interface.c
+++ b/net/batman-adv/soft-interface.c
@@ -505,6 +505,7 @@ unreg_debugfs:
 	batadv_debugfs_del_meshif(dev);
 free_bat_counters:
 	free_percpu(bat_priv->bat_counters);
+	bat_priv->bat_counters = NULL;
 
 	return ret;
 }
-- 
1.8.1.5


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* Re: [B.A.T.M.A.N.] (no subject)
  2013-05-21 19:53 ` [B.A.T.M.A.N.] (no subject) Antonio Quartulli
  2013-05-21 19:53   ` [B.A.T.M.A.N.] [PATCH] batman-adv: Avoid double freeing of bat_counters Antonio Quartulli
@ 2013-05-21 19:56   ` Antonio Quartulli
  2013-05-23  7:08     ` David Miller
  1 sibling, 1 reply; 20+ messages in thread
From: Antonio Quartulli @ 2013-05-21 19:56 UTC (permalink / raw)
  To: davem; +Cc: netdev, b.a.t.m.a.n

[-- Attachment #1: Type: text/plain, Size: 729 bytes --]

On Tue, May 21, 2013 at 09:53:54PM +0200, Antonio Quartulli wrote:
> Hello David,

Sorry but git-send-email fooled me. Subject was supposed to be:

pull request for net: batman-adv 2013-05-21

Regards,

> 
> this is another small patch for net/linux-3.10. It is preventing a double free
> of the bat_counters in case of mesh initialisation failure.
> 
> Sorry for sending such small pull requests (I guess this is not that bad since
> they target net :-)), but these are small glitches we are finding while testing
> new features.
> 
> Please pull or let me know if there is any problem.
> 
> Thanks a lot,
> 	Antonio

-- 
Antonio Quartulli

..each of us alone is worth nothing..
Ernesto "Che" Guevara

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [B.A.T.M.A.N.] (no subject)
  2013-05-21 19:56   ` [B.A.T.M.A.N.] (no subject) Antonio Quartulli
@ 2013-05-23  7:08     ` David Miller
  0 siblings, 0 replies; 20+ messages in thread
From: David Miller @ 2013-05-23  7:08 UTC (permalink / raw)
  To: ordex; +Cc: netdev, b.a.t.m.a.n

From: Antonio Quartulli <ordex@autistici.org>
Date: Tue, 21 May 2013 21:56:26 +0200

> On Tue, May 21, 2013 at 09:53:54PM +0200, Antonio Quartulli wrote:
>> Hello David,
> 
> Sorry but git-send-email fooled me. Subject was supposed to be:
> 
> pull request for net: batman-adv 2013-05-21

Pulled, thanks Antonio.

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [B.A.T.M.A.N.] (no subject)
@ 2013-08-02 12:44 Linus Lüssing
  0 siblings, 0 replies; 20+ messages in thread
From: Linus Lüssing @ 2013-08-02 12:44 UTC (permalink / raw)
  To: b.a.t.m.a.n

Hi,

This second version adds a few more cases I could spot which look like trouble.

Secondly, instead of copying the destination mac on the stack it simply uses
eth_hdr().


Why do we need no skb_reset_mac_header() or skb_set_mac_header()? Because
batadv_skb_head_push() calls skb_headers_offset_update() after the reallocation
(via skb_cow_head()->__skb_cow()->pskb_expand_head()->
skb_headers_offset_update().

I also checked that the ether header in the newly allocated buffer is not going
to end up being fragmented. But looks like pskb_expand_head() actually reserves
enough space for both the old ethernet header plus the newly requested head
space.

So if the mac header was set correctly before, then eth_hdr() will point us
to the right one already.


This patch is maybe not so straight forward, you need to read quite skb
code. At least not as straight forward as the previous version of this patch.
So I leave it up to you to decide whether this is suitable for next or whether
you think there's a potential for unseen pitfalls, therefore making it
suitable for master only :).


This patch fixed the kernel panic I was reproduceably getting just as well. 
(Which was while sending multicast packets through the unicast functions
while having a bridge on top of bat0)


Cheers, Linus


^ permalink raw reply	[flat|nested] 20+ messages in thread

* [B.A.T.M.A.N.] (no subject)
@ 2013-10-19 22:21 Antonio Quartulli
  2013-10-20  0:15 ` David Miller
  0 siblings, 1 reply; 20+ messages in thread
From: Antonio Quartulli @ 2013-10-19 22:21 UTC (permalink / raw)
  To: davem; +Cc: netdev, b.a.t.m.a.n

Hello David,

this is another batch intended for net-next/linux-3.13.

This pull request is a bit bigger than usual, but 6 patches are very small
(three of them are about email updates)..

Patch 1 is fixing a previous merge conflict resolution that went wrong
(I realised that only now while checking other patches..).
Patches from 2 to 4 that are updating our emails in all the proper files
(Documentation/, headers and MAINTAINERS).

Patches 5, 6 and 7 are bringing a big improvement to the TranslationTable
component: it is now able to group non-mesh clients based on the VLAN they
belong to. In this way a lot a new enhancements are now possible thanks to the
fact that each batman-adv behaviour can be applied on a per VLAN basis.

And, of course, in patches from 8 to 12 you have some of the enhancements I was
talking about:
- make the batman-Gateway selection VLAN dependent
- make DAT (Distributed ARP Table) group ARP entries on a VLAN basis (this
  allows DAT to work even when the admin decided to use the same IP subnet on
  different VLANs)
- make the AP-Isolation behaviour switchable on each VLAN independently
- export VLAN specific attributes via sysfs. Switches like the AP-Isolation are
  now exported once per VLAN (backward compatibility of the sysfs interface has
  been preserved)

Patches 13 and 14 are small code cleanups.
Patch 15 is a minor improvement in the TT locking mechanism.

Patches 16 and 17 are other enhancements to the TT component. Those allow a
node to parse a "non-mesh client announcement message" and accept only those
TT entries belonging to certain VLANs.

Patch 18 exploits this parse&accept mechanism to make the Bridge Loop Avoidance
component reject only TT entries connected to the VLAN where it is operating.
Previous to this change, BLA was rejecting all the entries coming from any other
Backbone node, regardless of the VLAN (for more details about how the Bridge
Loop Avoidance works please check [1]).


Please pull or let me know of any problem.

Thanks a lot,
	Antonio


[1] http://www.open-mesh.org/projects/batman-adv/wiki/Bridge-loop-avoidance-II

The following changes since commit b1eda2ac3fa6bf23b27c7c70eda6885124c79ed3:

  em_ipset: use dev_net() accessor (2013-10-18 16:23:06 -0400)

are available in the git repository at:

  git://git.open-mesh.org/linux-merge.git tags/batman-adv-for-davem

for you to fetch changes up to cfd4f75701b6b13b1ec74e6f65ad0d1969c19247:

  batman-adv: make the backbone gw check VLAN specific (2013-10-19 23:25:38 +0200)

----------------------------------------------------------------
Included changed:
- email addresses update in documentation, source files and MAINTAINERS
- make the TT component distinguish non-mesh clients based on the VLAN they
  belong to
- improve all the internal components to properly work on a per-VLAN basis
  (enabled by the new TT-VLAN feature)
- enhance the sysfs interface in order to provide behaviour switches on a
  per-VLAN basis (enabled by the new TT-VLAN feature)
- improve TT lock mechanism
- improve unicast transmission APIs

----------------------------------------------------------------
Antonio Quartulli (15):
      batman-adv: check skb preparation return value
      batman-adv: update email address for Antonio Quartulli
      batman-adv: add the VLAN ID attribute to the TT entry
      batman-adv: use vid when computing local and global TT CRC
      batman-adv: print the VID together with the TT entries
      batman-adv: make the GW module correctly talk to the new VLAN-TT
      batman-adv: make the Distributed ARP Table vlan aware
      batman-adv: add per VLAN interface attribute framework
      batman-adv: add sysfs framework for VLAN
      batman-adv: make the AP isolation attribute VLAN specific
      batman-adv: remove bogus comment
      batman-adv: lock around TT operations to avoid sending inconsistent data
      batman-adv: make the TT CRC logic VLAN specific
      batman-adv: make the TT global purge routine VLAN specific
      batman-adv: make the backbone gw check VLAN specific

Linus Lüssing (1):
      batman-adv: refine API calls for unicast transmissions of SKBs

Marek Lindner (1):
      batman-adv: update email address for Marek Lindner

Simon Wunderlich (1):
      batman-adv: update email address for Simon Wunderlich

 .../ABI/testing/sysfs-class-net-batman-adv         |    4 +-
 Documentation/ABI/testing/sysfs-class-net-mesh     |   23 +-
 Documentation/networking/batman-adv.txt            |    4 +-
 MAINTAINERS                                        |    2 +-
 net/batman-adv/bridge_loop_avoidance.c             |   58 +-
 net/batman-adv/bridge_loop_avoidance.h             |   10 +-
 net/batman-adv/distributed-arp-table.c             |  160 ++-
 net/batman-adv/gateway_client.c                    |   25 +-
 net/batman-adv/hard-interface.c                    |    2 +
 net/batman-adv/main.c                              |   33 +-
 net/batman-adv/main.h                              |   15 +-
 net/batman-adv/originator.c                        |  104 +-
 net/batman-adv/originator.h                        |    7 +
 net/batman-adv/packet.h                            |   32 +-
 net/batman-adv/routing.c                           |   28 +-
 net/batman-adv/send.c                              |   98 +-
 net/batman-adv/send.h                              |   51 +-
 net/batman-adv/soft-interface.c                    |  227 +++-
 net/batman-adv/soft-interface.h                    |    4 +
 net/batman-adv/sysfs.c                             |  178 ++-
 net/batman-adv/sysfs.h                             |   10 +
 net/batman-adv/translation-table.c                 | 1157 +++++++++++++++-----
 net/batman-adv/translation-table.h                 |   23 +-
 net/batman-adv/types.h                             |   83 +-
 24 files changed, 1851 insertions(+), 487 deletions(-)

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [B.A.T.M.A.N.] (no subject)
  2013-10-19 22:21 Antonio Quartulli
@ 2013-10-20  0:15 ` David Miller
  0 siblings, 0 replies; 20+ messages in thread
From: David Miller @ 2013-10-20  0:15 UTC (permalink / raw)
  To: antonio; +Cc: netdev, b.a.t.m.a.n

From: Antonio Quartulli <antonio@meshcoding.com>
Date: Sun, 20 Oct 2013 00:21:52 +0200

> this is another batch intended for net-next/linux-3.13.

Looks good, pulled, thanks a lot Antonio.

Please don't use empty subject lines in the future, lots of
sites block such emails and I see all of those bounces as
vger postmaster :-/

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [B.A.T.M.A.N.] (no subject)
@ 2017-04-25  0:02 Linus Lüssing
  0 siblings, 0 replies; 20+ messages in thread
From: Linus Lüssing @ 2017-04-25  0:02 UTC (permalink / raw)
  To: b.a.t.m.a.n

Hi,

This patchset introduces aggregation support for BATMAN V -
as well as any other packet type with a broadcast destination.

Branch:
* https://git.open-mesh.org/batman-adv.git/shortlog/refs/heads/linus/aggregation

Regards, Linus

---

Changelog:

v3:
* moved "Introduce packet type independent TVLV ..." from
  linus/neighhash to this patchset
  (this patchset is more important, therefore swapping their order)
* removed the two already applied patches
* rebased to master

v2:
* reset skb->cb on the soft-iface reception path, too [PATCH 5/6]
  (thanks Sven!)

RFC->v1:
* removed tvlv (un)pack ctx wrappers
* fixed a crash when deaggregating ARP packets
* now compile tested down to 3.2, too (no issues found)
* now stress tested with multicast traffic of a larger, public mesh setup


^ permalink raw reply	[flat|nested] 20+ messages in thread

* [B.A.T.M.A.N.] (no subject)
@ 2018-09-28  6:17 udit kalra
  0 siblings, 0 replies; 20+ messages in thread
From: udit kalra @ 2018-09-28  6:17 UTC (permalink / raw)
  To: b.a.t.m.a.n

Hi,

i want to install BATMAN-adv  open mesh network in Linux PC
can u please provide me the complete installation guide from the initial level.

Thanks & Regards,
Udit kalra

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2018-09-28  6:17 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <pull request for net: batman-adv 2013-05-21>
2013-05-21 19:53 ` [B.A.T.M.A.N.] (no subject) Antonio Quartulli
2013-05-21 19:53   ` [B.A.T.M.A.N.] [PATCH] batman-adv: Avoid double freeing of bat_counters Antonio Quartulli
2013-05-21 19:56   ` [B.A.T.M.A.N.] (no subject) Antonio Quartulli
2013-05-23  7:08     ` David Miller
2018-09-28  6:17 udit kalra
  -- strict thread matches above, loose matches on Subject: below --
2017-04-25  0:02 Linus Lüssing
2013-10-19 22:21 Antonio Quartulli
2013-10-20  0:15 ` David Miller
2013-08-02 12:44 Linus Lüssing
2011-05-02 19:19 [B.A.T.M.A.N.] [PATCHv4 1/2] batman-adv: Remove unnecessary hardif_list_lock Sven Eckelmann
2011-05-03  9:51 ` [B.A.T.M.A.N.] (no subject) Linus Lüssing
2011-05-03 12:40   ` Sven Eckelmann
2010-12-07 14:39 [B.A.T.M.A.N.] [PATCH 10/10] batman-adv: Use local tq values determined by NDP on OGMs Linus Lüssing
2010-12-07 20:19 ` [B.A.T.M.A.N.] (no subject) Linus Lüssing
2010-09-30 12:08 Marek Lindner
2010-10-09 11:44 ` Marek Lindner
2010-08-22 20:53 Linus Lüssing
2007-12-11  1:37 giuseppe de marco
2007-12-11  2:03 ` Alexander Morlang
2007-12-11  5:18 ` a.anselmi
2007-12-11 17:23 ` elektra
2007-12-11 18:43 ` Steven Leeman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox