Staging: batman-adv: softif bridge loop avoidance
[cascardo/linux.git] / drivers / staging / batman-adv / originator.c
index 5527008..fc7fb31 100644 (file)
@@ -28,6 +28,7 @@
 #include "routing.h"
 #include "hard-interface.h"
 #include "unicast.h"
+#include "soft-interface.h"
 
 static void purge_orig(struct work_struct *work);
 
@@ -286,6 +287,7 @@ static void _purge_orig(struct bat_priv *bat_priv)
 
        spin_unlock_irqrestore(&bat_priv->orig_hash_lock, flags);
 
+       softif_neigh_purge(bat_priv);
 }
 
 static void purge_orig(struct work_struct *work)