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

Commit 388e5f91 authored by Ravinder Konka's avatar Ravinder Konka Committed by Gerrit - the friendly Code Review server
Browse files

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



Send an ARP probe to the connected client when the neighbor
state moves to NUD_STALE. This triggers the neighbor state
to move back to NUD_REACHABLE if the ARP request is resolved
and prevents a RTM_DELNEIGH from being triggered

Change-Id: I83cf6532d76cfef62514d356c62d6140f32caad9
Signed-off-by: default avatarMohammed Javid <mjavid@codeaurora.org>
Acked-by: default avatarSudhanshu Singh <sudhsing@qti.qualcomm.com>
parent 9e77bc47
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -984,7 +984,7 @@ 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)) {
	if (neigh->nud_state & (NUD_INCOMPLETE | NUD_PROBE | NUD_STALE)) {
		neigh_probe(neigh);
	} else {
out: