]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'net-ipv4-fixes-for-PMTU-when-link-MTU-changes'
authorDavid S. Miller <davem@davemloft.net>
Thu, 11 Oct 2018 05:44:47 +0000 (22:44 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Oct 2018 05:44:47 +0000 (22:44 -0700)
commit3a45a0c4f31a9826bd90618ad971f4111379cbc0
tree57dd5ec8a63d7a9df7cde67afa189b8d02abe83b
parent5c81ca4f1cfeb628e730c8aeeadd7609d9338351
parent345c70e52cde2b3396189d7f3404499a093dd26e
Merge branch 'net-ipv4-fixes-for-PMTU-when-link-MTU-changes'

Sabrina Dubroca says:

====================
net: ipv4: fixes for PMTU when link MTU changes

The first patch adapts the changes that commit c8ad6dfbb987 ("ipv6:
Reflect MTU changes on PMTU of exceptions for MTU-less routes") did in
IPv6 to IPv4: lower PMTU when the first hop's MTU drops below it, and
raise PMTU when the first hop was limiting PMTU discovery and its MTU
is increased.

The second patch fixes bugs introduced in commit f4f42a6066e0 ("ipv4:
lock mtu in fnhe when received PMTU < net.ipv4.route.min_pmtu") that
only appear once the first patch is applied.

Selftests for these cases were introduced in net-next commit
e44e428f59e4 ("selftests: pmtu: add basic IPv4 and IPv6 PMTU tests")

v2: add cover letter, and fix a few small things in patch 1
====================

Signed-off-by: David S. Miller <davem@davemloft.net>