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

Commit 39703b7e 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: Release neigh lock when neigh_probe is enabled"

parents 0d4d1644 9bfee407
Loading
Loading
Loading
Loading
+7 −3
Original line number Diff line number Diff line
@@ -960,12 +960,16 @@ static void neigh_timer_handler(unsigned long arg)
	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)) {
		else
			write_unlock(&neigh->lock);
	} else {
		if (neigh->nud_state & (NUD_INCOMPLETE | NUD_PROBE)) {
			neigh_probe(neigh);
		} else {
out:
			write_unlock(&neigh->lock);
		}
	}

	if (notify)
		neigh_update_notify(neigh);