ipv6: prepare rt6_mtu_change() for exception table
authorWei Wang <weiwan@google.com>
Fri, 6 Oct 2017 19:05:59 +0000 (12:05 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 7 Oct 2017 20:22:57 +0000 (21:22 +0100)
commitf5bbe7ee79c2842ca69f25afd0b6b65a9011b735
treee9daaed52ce5a026ed6afef8055413444f411394
parent60006a4825f9e71adf770745e17790c6e6c97a89
ipv6: prepare rt6_mtu_change() for exception table

If we move all cached dst into the exception table under the main route,
current rt6_mtu_change() will no longer be able to access them.
This commit makes rt6_mtu_change_route() function to also go through all
cached routes in the exception table under the main route and do proper
updates on the mtu.
This is a preparation in order to move all cached routes into the
exception table.

Signed-off-by: Wei Wang <weiwan@google.com>
Signed-off-by: Martin KaFai Lau <kafai@fb.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/route.c