Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 57303020 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "net: core: To send ARP probe when neighbor state is NUD_STALE"

parents 08a7b3dc 6d7be14b
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -985,7 +985,11 @@ static void neigh_timer_handler(unsigned long arg)
		if (!mod_timer(&neigh->timer, next))
			neigh_hold(neigh);
	}
	if (neigh->nud_state & (NUD_INCOMPLETE | NUD_PROBE | NUD_STALE)) {

	if (neigh_probe_enable) {
		if (neigh->nud_state & (NUD_INCOMPLETE | NUD_PROBE | NUD_STALE))
			neigh_probe(neigh);
	} else if (neigh->nud_state & (NUD_INCOMPLETE | NUD_PROBE)) {
		neigh_probe(neigh);
	} else {
out: