All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sven Eckelmann <sven@narfation.org>
To: b.a.t.m.a.n@lists.open-mesh.org
Subject: Re: [B.A.T.M.A.N.] [PATCH] batman-adv: Move OGM rebroadcast stats to orig_ifinfo
Date: Fri, 14 Sep 2018 19:48:24 +0200	[thread overview]
Message-ID: <3307401.fCaFkusQ1B@sven-edge> (raw)
In-Reply-To: <20180816145445.27289-1-sven@narfation.org>

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

On Donnerstag, 16. August 2018 16:54:45 CEST Sven Eckelmann wrote:
> B.A.T.M.A.N. IV requires the number of rebroadcast from a neighboring
> originator. These statistics are gathered per interface which transmitted
> the OGM (and then received it again). Since an originator is not interface
> specific, a resizable array was used in each originator.
> 
> This resizable array had an entry for each interface and had to be resizes
> (for all OGMs) when the number of active interface was modified. This could
> cause problems when a large number of interface is added and not enough
> continuous memory is available to allocate the array.
> 
> There is already a per interface originator structure "batadv_orig_ifinfo"
> which can be used to store this information.
> 
> Signed-off-by: Sven Eckelmann <sven@narfation.org>
> ---
>  net/batman-adv/bat_iv_ogm.c     | 330 ++++++++++----------------------
>  net/batman-adv/hard-interface.c |  47 +++--
>  net/batman-adv/originator.c     | 107 -----------
>  net/batman-adv/originator.h     |   4 -
>  net/batman-adv/soft-interface.c |   1 -
>  net/batman-adv/types.h          |  62 ++----
>  6 files changed, 145 insertions(+), 406 deletions(-)

Applied as f36b93064420 [1]

Kind regards,
	Sven

[1] https://git.open-mesh.org/batman-adv.git/commit/f36b93064420d44998f7984671d5c78668cca059

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

      reply	other threads:[~2018-09-14 17:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-16 14:54 [B.A.T.M.A.N.] [PATCH] batman-adv: Move OGM rebroadcast stats to orig_ifinfo Sven Eckelmann
2018-09-14 17:48 ` Sven Eckelmann [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3307401.fCaFkusQ1B@sven-edge \
    --to=sven@narfation.org \
    --cc=b.a.t.m.a.n@lists.open-mesh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.