Introduced by 9b9cdbe28e2b9c8bdf9c761f22ba9655963d13d4 ("batman-adv: fix removing neigh_ifinfo")
Signed-off-by: Antonio Quartulli antonio@meshcoding.com --- originator.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/originator.c b/originator.c index 35b42f8..9ebc40e 100644 --- a/originator.c +++ b/originator.c @@ -842,8 +842,8 @@ batadv_purge_orig_neighbors(struct batadv_priv *bat_priv, hlist_del_rcu(&neigh_node->list); batadv_neigh_node_free_ref(neigh_node); } else { - /* only neccesary if not the whole neighbor is to be deleted, - * but some interface has been removed. + /* only neccesary if not the whole neighbor is to be + * deleted, but some interface has been removed. */ batadv_purge_neigh_ifinfo(bat_priv, neigh_node); }