if (n) {
int state = NUD_REACHABLE;
- int override = 0;
+ int override;
/* If several different ARP replies follows back-to-back,
use the FIRST one. It is possible, if several proxy
agents are active. Taking the first reply prevents
arp trashing and chooses the fastest router.
*/
- if (jiffies - n->updated >= n->parms->locktime)
- override = 1;
+ override = time_after(jiffies, n->updated + n->parms->locktime);
/* Broadcast replies and request packets
do not assert neighbour reachability.