public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
From: "Martin Hundebøll" <martin@hundeboll.net>
To: The list for a Better Approach To Mobile Ad-hoc Networking
	<b.a.t.m.a.n@lists.open-mesh.org>
Subject: Re: [B.A.T.M.A.N.] [PATCHv2] batman-adv: print packets re-routing on DBG_TT and ratelimit it
Date: Fri, 24 Aug 2012 19:18:04 +0200	[thread overview]
Message-ID: <20120824191804.232524cc@hundeboll.net> (raw)
In-Reply-To: <1345825951-24041-1-git-send-email-ordex@autistici.org>

Hi Antonio,

On Fri, 24 Aug 2012 18:32:31 +0200
Antonio Quartulli <ordex@autistici.org> wrote:

> diff --git a/routing.c b/routing.c
> index e7a4e25..9b8ff61 100644
> --- a/routing.c
> +++ b/routing.c
> @@ -972,10 +972,10 @@ static int batadv_check_unicast_ttvn(struct
> batadv_priv *bat_priv, batadv_orig_node_free_ref(orig_node);
>  		}
>  
> -		batadv_dbg(BATADV_DBG_ROUTES, bat_priv,
> -			   "TTVN mismatch (old_ttvn %u new_ttvn %u)!
> Rerouting unicast packet (for %pM) to %pM\n",
> -			   unicast_packet->ttvn, curr_ttvn,
> ethhdr->h_dest,
> -			   unicast_packet->dest);
> +		net_ratelimited_function(batadv_dbg, BATADV_DBG_TT,
> bat_priv,

Please add net_ratelimited_function() to compat.h, since it didn't make
its way into mainline before 3.5.

// Martin

  reply	other threads:[~2012-08-24 17:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-24 16:32 [B.A.T.M.A.N.] [PATCHv2] batman-adv: print packets re-routing on DBG_TT and ratelimit it Antonio Quartulli
2012-08-24 17:18 ` Martin Hundebøll [this message]
2012-08-25 23:01   ` Antonio Quartulli

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=20120824191804.232524cc@hundeboll.net \
    --to=martin@hundeboll.net \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox