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

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

Merge "net: core: Dont send ARP probes for NUD_PERMANENET"

parents 5c0e11d9 f6fe5069
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -1322,7 +1322,8 @@ struct neighbour *neigh_event_ns(struct neigh_table *tbl,
						 lladdr || !dev->addr_len);
	if (neigh) {
		if (neigh_probe_enable) {
			if (!(neigh->nud_state == NUD_REACHABLE)) {
			if (neigh->nud_state != NUD_REACHABLE &&
			    neigh->nud_state != NUD_PERMANENT) {
				neigh_update(neigh, lladdr, NUD_STALE,
				NEIGH_UPDATE_F_OVERRIDE, 0);
				write_lock(&neigh->lock);