On 6/20/19 5:43 PM, Wei Wang wrote: > I am not very convinced that fib6_lookup() could be equivalent to > rt6_lookup(). Specifically, rt6_lookup() calls rt6_device_match() > while fib6_lookup() calls rt6_select() to match the oif. From a brief > glance, it does seem to be similar, especially considering that saddr > is NULL. So it probably is OK?
I believe so, but I'll walk the 2 paths again and do the compare based on the limited flags and inputs for the gateway validation.