ipv6: RTA_PREFSRC support for ipv6 route source address selection
authorDaniel Walter <sahne@0x90.at>
Wed, 13 Apr 2011 21:10:57 +0000 (21:10 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Apr 2011 22:44:37 +0000 (15:44 -0700)
commitc3968a857a6b6c3d2ef4ead35776b055fb664d74
treef82be0953ff4454218f38ffb803fdcfb93a6f2a3
parentbd015928bb1713691068c4d0d159afccbaf0f8c0
ipv6: RTA_PREFSRC support for ipv6 route source address selection

[ipv6] Add support for RTA_PREFSRC

This patch allows a user to select the preferred source address
for a specific IPv6-Route. It can be set via a netlink message
setting RTA_PREFSRC to a valid IPv6 address which must be
up on the device the route will be bound to.

Signed-off-by: Daniel Walter <dwalter@barracuda.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ip6_fib.h
include/net/ip6_route.h
net/ipv6/addrconf.c
net/ipv6/ip6_output.c
net/ipv6/route.c