Re: [PATCH net] net/ipv6: Handle reject routes with onlink flag

2018-02-07 Thread David Miller
From: David Ahern Date: Tue, 6 Feb 2018 12:14:12 -0800 > Verification of nexthops with onlink flag need to handle unreachable > routes. The lookup is only intended to validate the gateway address > is not a local address and if the gateway resolves the egress device > must match the given device

[PATCH net] net/ipv6: Handle reject routes with onlink flag

2018-02-06 Thread David Ahern
Verification of nexthops with onlink flag need to handle unreachable routes. The lookup is only intended to validate the gateway address is not a local address and if the gateway resolves the egress device must match the given device. Hence, hitting any default reject route is ok. Fixes: fc1e64e10