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

Commit 744a5e26 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

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

parents 4e2935bc 628f96b0
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -956,7 +956,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: