net: Add VRF support to IPv6 stack
authorDavid Ahern <dsa@cumulusnetworks.com>
Mon, 12 Oct 2015 18:47:10 +0000 (11:47 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Oct 2015 11:55:08 +0000 (04:55 -0700)
commitca254490c8dfdaddb5df8a763774db0f4c5200c3
tree44fd3b3e5c0a37c2d5288963806b350383eb150b
parent35402e31366349a32b505afdfe856aeeb8d939a0
net: Add VRF support to IPv6 stack

As with IPv4 support for VRFs added to IPv6 stack by replacing hardcoded
table ids with possibly device specific ones and manipulating the oif in
the flowi6. The flow flags are used to skip oif compare in nexthop lookups
if the device is enslaved to a VRF via the L3 master device.

Signed-off-by: David Ahern <dsa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/addrconf.c
net/ipv6/icmp.c
net/ipv6/ip6_output.c
net/ipv6/ndisc.c
net/ipv6/route.c