]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit49a3e89a5f8ed1c59759ce8d46342fee2a9e92e6
tree12cf5a46c7c5ec2f615826b975fa85473e054bd7
parent3c0d52b66386398853cfd24e5280b72227b5bcb8
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