Well, as you can see in neigh_periodic_timer():
| if (time_before(n->used, n->confirmed))
| n->used = n->confirmed;
time_after_eq(n->used, n->confirmed) should be taken valid;
confirmed <= used <= now <= jiffies
okay, but I would rather have this in another patch.
I think your change should be
| time_after(neigh->used, neigh->confirmed)
or
| time_before(neigh->confirmed, neigh->used)
("_eq" is removed because there is a little chance
that the neighbor had been confirmed just before it was
used. It is not interesting for us at this moment.)
No?
And, this "if" for REACHABLE->DELAY may be completely needless.
Timer in REACHABLE is only for state transition for toward REACHABLE
or STALE.
--yoshfuji
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html