]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - rpmsg/rpmsg.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)
commit28b6bfebdd2fde5e09aa830bbeb284ec96c2c0a0
tree57dd5ec8a63d7a9df7cde67afa189b8d02abe83b
parent7abab7b9b498650404800a08765f44929fee8f31
parent28d35bcdd3925e7293408cdb8aa5f2aac5f0d6e3
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 e9fa1495d738 ("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 d52e5a7e7ca4 ("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>