diff options
Diffstat (limited to 'net/batman-adv')
-rw-r--r-- | net/batman-adv/send.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/batman-adv/send.c b/net/batman-adv/send.c index 76daa46efe19..33779278f1b2 100644 --- 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) | |||
421 | 421 | ||
422 | primary_if = primary_if_get_selected(bat_priv); | 422 | primary_if = primary_if_get_selected(bat_priv); |
423 | if (!primary_if) | 423 | if (!primary_if) |
424 | goto out; | 424 | goto out_and_inc; |
425 | 425 | ||
426 | forw_packet = kmalloc(sizeof(struct forw_packet), GFP_ATOMIC); | 426 | forw_packet = kmalloc(sizeof(struct forw_packet), GFP_ATOMIC); |
427 | 427 | ||