public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
From: Sven Eckelmann <sven@narfation.org>
To: Simon Wunderlich <sw@simonwunderlich.de>
Cc: b.a.t.m.a.n@lists.open-mesh.org, a@unstable.cc
Subject: Re: [B.A.T.M.A.N.] [PATCHv8 2/5] batman-adv: prevent duplication of ARP replies when DAT is used
Date: Thu, 16 Mar 2017 14:54:38 +0100	[thread overview]
Message-ID: <1593560.U0KQ5s47cQ@bentobox> (raw)
In-Reply-To: <20170316133429.3923-3-sw@simonwunderlich.de>

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

On Donnerstag, 16. März 2017 14:34:26 CET Simon Wunderlich wrote:
> +       /* If BLA is enabled, only forward ARP replies if we have claimed the
> +        * source of the ARP reply or if no one else of the same backbone has
> +        * already claimed that client. This prevents that different gateways
> +        * to the same backbone all forward the ARP reply leading to multiple
> +        * replies in the backbone.
> +        */
> +       if (!batadv_bla_is_my_claim(bat_priv, hw_src, vid)) {
> +               batadv_dbg(BATADV_DBG_DAT, bat_priv,
> +                          "Device %pM claimed by another backbone gw. Drop ARP reply.\n",
> +                          hw_src);
> +               dropped = true;
> +               goto out;
> +       }
> +

Thanks for the rebasing. But there is no function
"batadv_bla_is_my_claim". It was called batadv_bla_check_claim in patch 1.

And please also add a space between "PATCH" and "v8". This is how
"git format-patch -v8" would have created it. And patchwork can handle it a
little bit better when "PATCH" is a well separated word.

Kind regards,
	Sven

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

  reply	other threads:[~2017-03-16 13:54 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-16 13:34 [B.A.T.M.A.N.] [PATCHv8 0/5] Optimizations for setups running dat and bla Simon Wunderlich
2017-03-16 13:34 ` [B.A.T.M.A.N.] [PATCHv8 1/5] batman-adv: prevent multiple ARP replies sent by gateways if dat enabled Simon Wunderlich
2017-03-16 13:34 ` [B.A.T.M.A.N.] [PATCHv8 2/5] batman-adv: prevent duplication of ARP replies when DAT is used Simon Wunderlich
2017-03-16 13:54   ` Sven Eckelmann [this message]
2017-03-16 13:34 ` [B.A.T.M.A.N.] [PATCHv8 3/5] batman-adv: drop unicast packets from other backbone gw Simon Wunderlich
2017-03-16 13:34 ` [B.A.T.M.A.N.] [PATCHv8 4/5] batman-adv: changed debug messages for easier bla debugging Simon Wunderlich
2017-03-16 13:34 ` [B.A.T.M.A.N.] [PATCHv8 5/5] batman-adv: handle race condition for claims between gateways Simon Wunderlich
2017-03-22  9:26 ` [B.A.T.M.A.N.] [PATCHv8 0/5] Optimizations for setups running dat and bla Simon Wunderlich

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=1593560.U0KQ5s47cQ@bentobox \
    --to=sven@narfation.org \
    --cc=a@unstable.cc \
    --cc=b.a.t.m.a.n@lists.open-mesh.org \
    --cc=sw@simonwunderlich.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox