projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d5808d
)
batman-adv: reset broadcast flood protection on error
author
Marek Lindner
<lindner_marek@yahoo.de>
Sat, 14 May 2011 18:01:22 +0000
(20:01 +0200)
committer
Sven Eckelmann
<sven@narfation.org>
Sat, 14 May 2011 22:02:06 +0000
(
00:02
+0200)
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>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
net/batman-adv/send.c
patch
|
blob
|
history
diff --git
a/net/batman-adv/send.c
b/net/batman-adv/send.c
index
76daa46
..
3377927
100644
(file)
--- a/
net/batman-adv/send.c
+++ b/
net/batman-adv/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);