[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <84593e49-357b-818c-79c5-d265d8c32b03@gmail.com>
Date: Fri, 2 Mar 2018 15:39:03 -0700
From: David Ahern <dsahern@...il.com>
To: Stefano Brivio <sbrivio@...hat.com>,
"David S . Miller" <davem@...emloft.net>
Cc: Wei Wang <weiwan@...gle.com>,
Hideaki YOSHIFUJI <yoshfuji@...ux-ipv6.org>,
Maciej Żenczykowski <maze@...gle.com>,
netdev@...r.kernel.org
Subject: Re: [PATCH net] ipv6: Reflect MTU changes on PMTU of exceptions for
MTU-less routes
On 3/2/18 8:36 AM, Stefano Brivio wrote:
> Currently, administrative MTU changes on a given netdevice are
> not reflected on route exceptions for MTU-less routes, with a
> set PMTU value, for that device:
>
> # ip -6 route get 3000::b
> 3000::b from :: dev vti_a proto kernel src 3000::a metric 256 pref medium
> # ping6 -c 1 -q -s10000 3000::b > /dev/null
> # ip netns exec a ip -6 route get 3000::b
> 3000::b from :: dev vti_a src 3000::a metric 0
> cache expires 571sec mtu 4926 pref medium
> # ip link set dev vti_a mtu 3000
> # ip -6 route get 3000::b
> 3000::b from :: dev vti_a src 3000::a metric 0
> cache expires 571sec mtu 4926 pref medium
> # ip link set dev vti_a mtu 9000
> # ip -6 route get 3000::b
> 3000::b from :: dev vti_a src 3000::a metric 0
> cache expires 571sec mtu 4926 pref medium
Addresses in the 2001:db8: range should be used for commit messages.
And please codify the above expectation as a test under
tools/testing/selftests/net
Powered by blists - more mailing lists