Signed-off-by: Sven Eckelmann sven@narfation.org --- batman-adv/gateway_client.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/batman-adv/gateway_client.c b/batman-adv/gateway_client.c index 3486854..41eba8a 100644 --- a/batman-adv/gateway_client.c +++ b/batman-adv/gateway_client.c @@ -123,8 +123,7 @@ void gw_election(struct bat_priv *bat_priv) "Removing selected gateway - " "no gateway in range\n"); gw_deselect(bat_priv); - } - else + } else rcu_read_unlock();
return;