From: Sven Eckelmann <sven@narfation.org>
To: b.a.t.m.a.n@lists.open-mesh.org
Cc: Marek Lindner <lindner_marek@yahoo.de>
Subject: Re: [B.A.T.M.A.N.] [PATCH] batman-adv: reset broadcast flood protection on error
Date: Sat, 14 May 2011 20:08:20 +0200 [thread overview]
Message-ID: <201105142008.23630.sven@narfation.org> (raw)
In-Reply-To: <1305396082-30309-1-git-send-email-lindner_marek@yahoo.de>
[-- Attachment #1: Type: Text/Plain, Size: 734 bytes --]
Marek Lindner wrote:
> The broadcast flood protection should be reset to its original value
> if the primary interface could not be retrieved.
>
> Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
> ---
> send.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/send.c b/send.c
> index 76daa46..3377927 100644
> --- a/send.c
> +++ b/send.c
> @@ -421,7 +421,7 @@ int add_bcast_packet_to_list(struct bat_priv *bat_priv,
> struct sk_buff *skb)
>
> primary_if = primary_if_get_selected(bat_priv);
> if (!primary_if)
> - goto out;
> + goto out_and_inc;
>
> forw_packet = kmalloc(sizeof(struct forw_packet), GFP_ATOMIC);
Acked-by: Sven Eckelmann <sven@narfation.org>
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
next prev parent reply other threads:[~2011-05-14 18:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-14 18:01 [B.A.T.M.A.N.] [PATCH] batman-adv: reset broadcast flood protection on error Marek Lindner
2011-05-14 18:08 ` Sven Eckelmann [this message]
2011-05-15 16:27 ` Marek Lindner
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=201105142008.23630.sven@narfation.org \
--to=sven@narfation.org \
--cc=b.a.t.m.a.n@lists.open-mesh.org \
--cc=lindner_marek@yahoo.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