ipv4: Don't use the cached pmtu informations for input routes
authorSteffen Klassert <steffen.klassert@secunet.com>
Wed, 23 Nov 2011 02:14:50 +0000 (02:14 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 26 Nov 2011 19:29:52 +0000 (14:29 -0500)
commit261663b0ee2ee8e3947f4c11c1a08be18cd2cea1
tree12cf5a46c7c5ec2f615826b975fa85473e054bd7
parentb8400f3718a11c9b0ca400705cddf94f3132c1c3
ipv4: Don't use the cached pmtu informations for input routes

The pmtu informations on the inetpeer are visible for output and
input routes. On packet forwarding, we might propagate a learned
pmtu to the sender. As we update the pmtu informations of the
inetpeer on demand, the original sender of the forwarded packets
might never notice when the pmtu to that inetpeer increases.
So use the mtu of the outgoing device on packet forwarding instead
of the pmtu to the final destination.

Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/route.c