diff options
author | David Ahern <dsa@cumulusnetworks.com> | 2016-06-16 16:24:25 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-06-17 21:25:29 -0700 |
commit | 0d240e7811c4ec1965760ee4643b5bbc9cfacbb3 (patch) | |
tree | 8bdf0d3d57832b40568424b1d03bbc0cd51f39a1 /virt | |
parent | a2e2ff560f5113e8ca31432fbd985f5f1889efdc (diff) |
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 'virt')
0 files changed, 0 insertions, 0 deletions