Re: [PATCH net-next 0/4 v2] net: VRF support in IPv6 stack

2015-10-11 Thread David Miller
Please minimize the crazy pointer casting in this series. All of these casts between ipv4/ipv6 route objects and dsts are completely unnecessary. Prefer to maintain an rt/rt6 in local variables, and then when you need the dst say >dst, or to get the device say rt6->dst.dev or similar. Thanks.

[PATCH net-next 0/4 v2] net: VRF support in IPv6 stack

2015-10-07 Thread David Ahern
Initial support for VRF in IPv6 stack. Makes IPv6 functionality on par with IPv4 -- ping, tcp client/server and udp client/server all work fine. tcpdump on vrf device and external tap (e.g., host side tap device) shows all packets with proper addresses. IPv6 does not need the source address