diff options
author | Julian Anastasov <ja@ssi.bg> | 2012-07-19 20:02:45 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-07-19 20:01:44 (GMT) |
commit | f31fd383821555cbd77ee83e17837f7060825395 (patch) | |
tree | 3c4122f2c84c3d4a9a1c14a24a0b26f2a10259e5 /net | |
parent | abaa72d7fd9a20a67b62e6afa0e746e27851dc33 (diff) | |
download | linux-fsl-qoriq-f31fd383821555cbd77ee83e17837f7060825395.tar.xz |
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: Julian Anastasov <ja@ssi.bg>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/ipv4/route.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/route.c b/net/ipv4/route.c index 89e39dc5..9f7ffbe 100644 --- a/net/ipv4/route.c +++ b/net/ipv4/route.c @@ -1926,7 +1926,7 @@ restart: 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; |