]> git.itanic.dy.fi Git - linux-stable/commit
route: Use ipv4_mtu instead of raw rt_pmtu
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 28 Apr 2015 03:43:15 +0000 (11:43 +0800)
committerJiri Slaby <jslaby@suse.cz>
Sat, 9 Jan 2016 10:32:43 +0000 (11:32 +0100)
commit5519638906c93668aad764644f83172a2442df22
tree607dce65f453283f09b92ccbc89bd4e32d9824a3
parent563922c43933710e70ac9c28ff1c5d724ddecf07
route: Use ipv4_mtu instead of raw rt_pmtu

commit cb6ccf09d6b94bec4def1ac5cf4678d12b216474 upstream.

The commit 3cdaa5be9e81a914e633a6be7b7d2ef75b528562 ("ipv4: Don't
increase PMTU with Datagram Too Big message") broke PMTU in cases
where the rt_pmtu value has expired but is smaller than the new
PMTU value.

This obsolete rt_pmtu then prevents the new PMTU value from being
installed.

Fixes: 3cdaa5be9e81 ("ipv4: Don't increase PMTU with Datagram Too Big message")
Reported-by: Gerd v. Egidy <gerd.von.egidy@intra2net.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
net/ipv4/route.c