diff options
Diffstat (limited to 'net/ipv4/route.c')
-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 f67e70236728..2c25581bf25c 100644 --- a/net/ipv4/route.c +++ b/net/ipv4/route.c | |||
@@ -1907,7 +1907,7 @@ static void rt_bind_exception(struct rtable *rt, struct fib_nh *nh, __be32 daddr | |||
1907 | if (fnhe->fnhe_daddr == daddr) { | 1907 | if (fnhe->fnhe_daddr == daddr) { |
1908 | if (fnhe->fnhe_pmtu) { | 1908 | if (fnhe->fnhe_pmtu) { |
1909 | unsigned long expires = fnhe->fnhe_expires; | 1909 | unsigned long expires = fnhe->fnhe_expires; |
1910 | unsigned long diff = jiffies - expires; | 1910 | unsigned long diff = expires - jiffies; |
1911 | 1911 | ||
1912 | if (time_before(jiffies, expires)) { | 1912 | if (time_before(jiffies, expires)) { |
1913 | rt->rt_pmtu = fnhe->fnhe_pmtu; | 1913 | rt->rt_pmtu = fnhe->fnhe_pmtu; |