Re: [B.A.T.M.A.N.] [PATCH] batman-adv: reset broadcast flood protection on error

2011-05-15 Thread Marek Lindner
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); > > Acke

Re: [B.A.T.M.A.N.] [PATCH] batman-adv: reset broadcast flood protection on error

2011-05-14 Thread Sven Eckelmann
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 > --- > send.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/send.c b/send.c > index 7

[B.A.T.M.A.N.] [PATCH] batman-adv: reset broadcast flood protection on error

2011-05-14 Thread 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 --- 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