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

Commit f31fd383 authored by Julian Anastasov's avatar Julian Anastasov Committed by David S. Miller
Browse files

ipv4: Fix again the time difference calculation



	Fix again the diff value in rt_bind_exception
after collision of two latest patches, my original commit
actually fixed the same problem.

Signed-off-by: default avatarJulian Anastasov <ja@ssi.bg>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent abaa72d7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1926,7 +1926,7 @@ static void rt_bind_exception(struct rtable *rt, struct fib_nh *nh, __be32 daddr
		if (daddr != fnhe_daddr)
			continue;
		if (pmtu) {
			unsigned long diff = jiffies - expires;
			unsigned long diff = expires - jiffies;

			if (time_before(jiffies, expires)) {
				rt->rt_pmtu = pmtu;