summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDavid Ahern2016-06-17 01:24:25 +0200
committerDavid S. Miller2016-06-18 06:25:29 +0200
commit0d240e7811c4ec1965760ee4643b5bbc9cfacbb3 (patch)
tree8bdf0d3d57832b40568424b1d03bbc0cd51f39a1 /lib
parentnet: ipv6: Move ip6_route_get_saddr to inline (diff)
downloadkernel-qcow2-linux-0d240e7811c4ec1965760ee4643b5bbc9cfacbb3.tar.gz
kernel-qcow2-linux-0d240e7811c4ec1965760ee4643b5bbc9cfacbb3.tar.xz
kernel-qcow2-linux-0d240e7811c4ec1965760ee4643b5bbc9cfacbb3.zip
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 'lib')
0 files changed, 0 insertions, 0 deletions