diff options
author | Florian Westphal <fw@strlen.de> | 2015-08-07 10:54:28 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-08-10 13:29:22 -0700 |
commit | 330567b71d8716704b189454553c2696e1eceb6c (patch) | |
tree | 88a1f4c609912a438d445da26ec9e34ac5b6538a /include | |
parent | 4e7c1330689e27556de407d3fdadc65ffff5eb12 (diff) | |
download | linux-stable-330567b71d8716704b189454553c2696e1eceb6c.tar.gz linux-stable-330567b71d8716704b189454553c2696e1eceb6c.tar.bz2 linux-stable-330567b71d8716704b189454553c2696e1eceb6c.zip |
ipv6: don't reject link-local nexthop on other interface
48ed7b26faa7 ("ipv6: reject locally assigned nexthop addresses") is too
strict; it rejects following corner-case:
ip -6 route add default via fe80::1:2:3 dev eth1
[ where fe80::1:2:3 is assigned to a local interface, but not eth1 ]
Fix this by restricting search to given device if nh is linklocal.
Joint work with Hannes Frederic Sowa.
Fixes: 48ed7b26faa7 ("ipv6: reject locally assigned nexthop addresses")
Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions