aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/batman-adv/originator.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/net/batman-adv/originator.c b/net/batman-adv/originator.c
index 6cb9af3f89e5..899d4943d8ad 100644
--- a/net/batman-adv/originator.c
+++ b/net/batman-adv/originator.c
@@ -224,10 +224,15 @@ static bool purge_orig_neighbors(struct bat_priv *bat_priv,
224 if ((time_after(jiffies, 224 if ((time_after(jiffies,
225 neigh_node->last_valid + PURGE_TIMEOUT * HZ)) || 225 neigh_node->last_valid + PURGE_TIMEOUT * HZ)) ||
226 (neigh_node->if_incoming->if_status == IF_INACTIVE) || 226 (neigh_node->if_incoming->if_status == IF_INACTIVE) ||
227 (neigh_node->if_incoming->if_status == IF_NOT_IN_USE) ||
227 (neigh_node->if_incoming->if_status == IF_TO_BE_REMOVED)) { 228 (neigh_node->if_incoming->if_status == IF_TO_BE_REMOVED)) {
228 229
229 if (neigh_node->if_incoming->if_status == 230 if ((neigh_node->if_incoming->if_status ==
230 IF_TO_BE_REMOVED) 231 IF_INACTIVE) ||
232 (neigh_node->if_incoming->if_status ==
233 IF_NOT_IN_USE) ||
234 (neigh_node->if_incoming->if_status ==
235 IF_TO_BE_REMOVED))
231 bat_dbg(DBG_BATMAN, bat_priv, 236 bat_dbg(DBG_BATMAN, bat_priv,
232 "neighbor purge: originator %pM, " 237 "neighbor purge: originator %pM, "
233 "neighbor: %pM, iface: %s\n", 238 "neighbor: %pM, iface: %s\n",