From: Wei Wang <wei...@google.com> Date: Fri, 27 Oct 2017 17:30:12 -0700
> From: Wei Wang <wei...@google.com> > > Cached routes should only be created by the system when receiving pmtu > discovery or ip redirect msg. Users should not be allowed to create > cached routes. > > Furthermore, after the patch series to move cached routes into exception > table, user added cached routes will trigger the following warning in > fib6_add(): ... > So we fix this by failing the attemp to add cached routes from userspace > with returning EINVAL error. > > Fixes: 2b760fcf5cfb ("ipv6: hook up exception table to store dst cache") > Signed-off-by: Wei Wang <wei...@google.com> > Signed-off-by: Eric Dumazet <eduma...@google.com> Applied, thank you.