diff options
author | David Ahern <dsa@cumulusnetworks.com> | 2016-06-16 23:24:25 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-06-18 04:25:29 (GMT) |
commit | 0d240e7811c4ec1965760ee4643b5bbc9cfacbb3 (patch) | |
tree | 8bdf0d3d57832b40568424b1d03bbc0cd51f39a1 /fs/sysfs | |
parent | a2e2ff560f5113e8ca31432fbd985f5f1889efdc (diff) | |
download | linux-0d240e7811c4ec1965760ee4643b5bbc9cfacbb3.tar.xz |
net: vrf: Implement get_saddr for IPv6
IPv6 source address selection needs to consider the real egress route.
Similar to IPv4 implement a get_saddr6 method which is called if
source address has not been set. The get_saddr6 method does a full
lookup which means pulling a route from the VRF FIB table and properly
considering linklocal/multicast destination addresses. Lookup failures
(eg., unreachable) then cause the source address selection to fail
which gets propagated back to the caller.
Signed-off-by: David Ahern <dsa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/sysfs')
0 files changed, 0 insertions, 0 deletions