]> 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)
commit78cdfa8fa368bf9a257f4b99ffc9dbd4b6516f2b
tree12cf5a46c7c5ec2f615826b975fa85473e054bd7
parent9a42ce1457ae322c3182f2d1b1a587a6cda2bca9
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