]> err.no Git - linux-2.6/commit
ipv6 route: Prefer outgoing interface with source address assigned.
authorYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Wed, 2 Jul 2008 09:30:18 +0000 (18:30 +0900)
committerYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Thu, 3 Jul 2008 08:51:56 +0000 (17:51 +0900)
commitdd3abc4ef52597ec8268274222574b2700ba3ded
treee588e699dcb38c80a15bb9c7aa606994e82b134b
parent1b34be74cbf18f5d58cc85c7c4afcd9f7d74accd
ipv6 route: Prefer outgoing interface with source address assigned.

Outgoing interface is selected by the route decision if unspecified.
Let's prefer routes via interface(s) with the address assigned if we
have multiple routes with same cost.
With help from Naohiro Ooiwa <nooiwa@miraclelinux.com>.

Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
net/ipv6/route.c