* [B.A.T.M.A.N.] [PATCH] batman-adv: reset broadcast flood protection on error @ 2011-05-14 18:01 Marek Lindner 2011-05-14 18:08 ` Sven Eckelmann 0 siblings, 1 reply; 3+ messages in thread From: Marek Lindner @ 2011-05-14 18:01 UTC (permalink / raw) To: b.a.t.m.a.n; +Cc: Marek Lindner 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); -- 1.7.2.3 ^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [B.A.T.M.A.N.] [PATCH] batman-adv: reset broadcast flood protection on error 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 2011-05-15 16:27 ` Marek Lindner 0 siblings, 1 reply; 3+ messages in thread From: Sven Eckelmann @ 2011-05-14 18:08 UTC (permalink / raw) To: b.a.t.m.a.n; +Cc: Marek Lindner [-- 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 --] ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [B.A.T.M.A.N.] [PATCH] batman-adv: reset broadcast flood protection on error 2011-05-14 18:08 ` Sven Eckelmann @ 2011-05-15 16:27 ` Marek Lindner 0 siblings, 0 replies; 3+ messages in thread From: Marek Lindner @ 2011-05-15 16:27 UTC (permalink / raw) To: The list for a Better Approach To Mobile Ad-hoc Networking On Saturday 14 May 2011 20:08:20 Sven Eckelmann wrote: > > 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> Applied in revision 49eb173. Regards, Marek ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-05-15 16:27 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 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 2011-05-15 16:27 ` Marek Lindner
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.