pull request: batman-adv 2012-04-11
Message ID | 20120411130301.GD19365@ritirata.org (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers |
Return-Path: <ordex@autistici.org> Received: from latitanza.investici.org (latitanza.investici.org [82.94.249.234]) by open-mesh.org (Postfix) with ESMTPS id ED1576006F2 for <b.a.t.m.a.n@lists.open-mesh.org>; Wed, 11 Apr 2012 15:02:06 +0200 (CEST) Authentication-Results: open-mesh.org; dkim=pass (1024-bit key) header.i=@autistici.org; dkim-adsp=pass Received: from [82.94.249.234] (latitanza [82.94.249.234]) (Authenticated sender: ordex@autistici.org) by localhost (Postfix) with ESMTPSA id 2F3D19860D; Wed, 11 Apr 2012 13:02:06 +0000 (UTC) X-DKIM: Sendmail DKIM Filter v2.8.2 latitanza.investici.org 2F3D19860D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1334149326; bh=w6Sa9YsNZhHGwM8TV0UWbFTwl1d1eUYcnKvoV2fppNM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Transfer-Encoding:In-Reply-To; b=dpb9uazUg41m+rEOKhE+Q98cLFJyuczbXrfdgVqLu1fG0osmhDL7XdiDk4NfkqQgB 9Op/cpViw4Mxe/QxRatSe5+KJAZQmZnK1UtdwpWdm9K6bSV6JySu2ww5NTMzhS3OPu AVcI9opcVwyEy1YrH9x+XDxgxglPHa9pOTtDrRVQ= Date: Wed, 11 Apr 2012 15:03:03 +0200 From: Antonio Quartulli <ordex@autistici.org> To: davem@davemloft.net Message-ID: <20120411130301.GD19365@ritirata.org> References: <1334148649-25443-1-git-send-email-ordex@autistici.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <1334148649-25443-1-git-send-email-ordex@autistici.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: netdev@vger.kernel.org, b.a.t.m.a.n@lists.open-mesh.org Subject: Re: [B.A.T.M.A.N.] pull request: batman-adv 2012-04-11 X-BeenThere: b.a.t.m.a.n@lists.open-mesh.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking <b.a.t.m.a.n@lists.open-mesh.org> List-Id: The list for a Better Approach To Mobile Ad-hoc Networking <b.a.t.m.a.n.lists.open-mesh.org> List-Unsubscribe: <https://lists.open-mesh.org/mm/options/b.a.t.m.a.n>, <mailto:b.a.t.m.a.n-request@lists.open-mesh.org?subject=unsubscribe> List-Archive: <http://lists.open-mesh.org/pipermail/b.a.t.m.a.n> List-Post: <mailto:b.a.t.m.a.n@lists.open-mesh.org> List-Help: <mailto:b.a.t.m.a.n-request@lists.open-mesh.org?subject=help> List-Subscribe: <https://lists.open-mesh.org/mm/listinfo/b.a.t.m.a.n>, <mailto:b.a.t.m.a.n-request@lists.open-mesh.org?subject=subscribe> X-List-Received-Date: Wed, 11 Apr 2012 13:02:07 -0000 |
Pull-request
git://git.open-mesh.org/linux-merge.git tags/batman-adv-for-davemMessage
Antonio Quartulli
April 11, 2012, 1:03 p.m. UTC
On Wed, Apr 11, 2012 at 02:50:33 +0200, Antonio Quartulli wrote: > Hello, > > this is our new set of patches (actually there has been no modification from the > last pull request issued on 2011-04-07) which is now based on top of the current > net-next/master branch (commit id: 06eb4eafbdc0796d741d139a44f1253278da8611). > > Let me know if there is something else wrong. Sorry David, I forgot to attach the "real" pull-request description. Here it is: The following changes since commit 06eb4eafbdc0796d741d139a44f1253278da8611: Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (2012-04-10 14:30:45 -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 7a5cc24277b57ce38eb0afa6634b71d4d5cc671e: batman-adv: add bridge loop avoidance compile option (2012-04-11 14:29:00 +0200) ---------------------------------------------------------------- Included changes: * add my name to the maintainers list of batman-adv * some clean up fixes * increases the default hop-penalty in order to encourage the routing protocol to choose shorter routes * renew the bridge loop avoidance mechanism The latter mechanism was already present in batman-adv but recently the concept has been discussed again and here comes the new implementation. Moreover we added a compile option in order to let expert people, which think that this mechanism is not helpful at all, disable it and save some space. ---------------------------------------------------------------- Antonio Quartulli (3): MAINTAINERS: add additional maintainer for net/batman-adv batman-adv: clean up Kconfig batman-adv: use ETH_ALEN instead of hardcoded numeric constants Marek Lindner (1): batman-adv: encourage batman to take shorter routes by changing the default hop penalty Simon Wunderlich (10): batman-adv: remove old bridge loop avoidance code batman-adv: add basic bridge loop avoidance code batman-adv: make bridge loop avoidance switchable batman-adv: export claim tables through debugfs batman-adv: allow multiple entries in tt_global_entries batman-adv: don't let backbone gateways exchange tt entries batman-adv: add broadcast duplicate check batman-adv: drop STP over batman batman-adv: form groups in the bridge loop avoidance batman-adv: add bridge loop avoidance compile option Sven Eckelmann (2): batman-adv: Replace bitarray operations with bitmap batman-adv: Remove declaration of only locally used functions Documentation/ABI/testing/sysfs-class-net-mesh | 9 + Documentation/networking/batman-adv.txt | 19 +- MAINTAINERS | 1 + net/batman-adv/Kconfig | 27 +- net/batman-adv/Makefile | 1 + net/batman-adv/bat_debugfs.c | 19 +- net/batman-adv/bat_iv_ogm.c | 15 +- net/batman-adv/bat_sysfs.c | 8 +- net/batman-adv/bitarray.c | 118 +- net/batman-adv/bitarray.h | 26 +- net/batman-adv/bridge_loop_avoidance.c | 1583 ++++++++++++++++++++++++ net/batman-adv/bridge_loop_avoidance.h | 98 ++ net/batman-adv/hard-interface.c | 18 +- net/batman-adv/main.c | 9 +- net/batman-adv/main.h | 11 +- net/batman-adv/originator.c | 3 +- net/batman-adv/packet.h | 43 +- net/batman-adv/routing.c | 29 +- net/batman-adv/routing.h | 1 - net/batman-adv/soft-interface.c | 498 +------- net/batman-adv/soft-interface.h | 2 - net/batman-adv/translation-table.c | 435 +++++-- net/batman-adv/translation-table.h | 8 - net/batman-adv/types.h | 77 +- 24 files changed, 2263 insertions(+), 795 deletions(-) create mode 100644 net/batman-adv/bridge_loop_avoidance.c create mode 100644 net/batman-adv/bridge_loop_avoidance.h
Comments
From: Antonio Quartulli <ordex@autistici.org> Date: Wed, 11 Apr 2012 15:03:03 +0200 > git://git.open-mesh.org/linux-merge.git tags/batman-adv-for-davem > > for you to fetch changes up to 7a5cc24277b57ce38eb0afa6634b71d4d5cc671e: > > batman-adv: add bridge loop avoidance compile option (2012-04-11 14:29:00 +0200) Pulled, but I think the way you're doing the bridge loop avoidance stuff is wrong. Don't use a Kconfig option, use a sysctl to turn the behavior off or on at runtime instead.
On Wed, Apr 11, 2012 at 09:58:09 -0400, David Miller wrote: > From: Antonio Quartulli <ordex@autistici.org> > Date: Wed, 11 Apr 2012 15:03:03 +0200 > > > git://git.open-mesh.org/linux-merge.git tags/batman-adv-for-davem > > > > for you to fetch changes up to 7a5cc24277b57ce38eb0afa6634b71d4d5cc671e: > > > > batman-adv: add bridge loop avoidance compile option (2012-04-11 14:29:00 +0200) > > Pulled, but I think the way you're doing the bridge loop avoidance stuff > is wrong. > > Don't use a Kconfig option, use a sysctl to turn the behavior off or on > at runtime instead. Hello David and thank you for your feedback. Actually we have either the Kconfig option (for binary size purposes) AND a boolean attribute in our soft_interface sysfs path (to dynamically turn the bridge loop avoidance ON and OFF as you were suggesting). Regards,
From: Antonio Quartulli <ordex@autistici.org> Date: Wed, 11 Apr 2012 16:31:03 +0200 > Actually we have either the Kconfig option (for binary size purposes) AND a > boolean attribute in our soft_interface sysfs path (to dynamically turn the > bridge loop avoidance ON and OFF as you were suggesting). Distributions are just going to turn on everything, so for %99.999 of users you really aren't saving anything.
It is not like that for a lot of batman-adv users that works with embedded devices where even 10KB makes the dfference On 04/11/12 16:39, David Miller wrote: > From: Antonio Quartulli <ordex@autistici.org> > Date: Wed, 11 Apr 2012 16:31:03 +0200 > >> Actually we have either the Kconfig option (for binary size purposes) AND a >> boolean attribute in our soft_interface sysfs path (to dynamically turn the >> bridge loop avoidance ON and OFF as you were suggesting). > > Distributions are just going to turn on everything, so for %99.999 of > users you really aren't saving anything.
From: Gioacchino Mazzurco <gmazzurco89@gmail.com> Date: Wed, 11 Apr 2012 16:43:43 +0200 > It is not like that for a lot of batman-adv users that works with > embedded devices where even 10KB makes the dfference Ok, but you also have the option of making it a seperate module too. Right now it's an all or nothing choice. Once you make a Kconfig decision, later it's harder to rebuild the kernel to fix a mistake than to simply load the module in question.