mirror of https://gitee.com/openkylin/linux.git
Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
This commit is contained in:
commit
d70aa5e4b5
|
@ -985,6 +985,8 @@ int ipv6_dev_get_saddr(struct net_device *daddr_dev,
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Rule 4: Prefer home address -- not implemented yet */
|
/* Rule 4: Prefer home address -- not implemented yet */
|
||||||
|
if (hiscore.rule < 4)
|
||||||
|
hiscore.rule++;
|
||||||
|
|
||||||
/* Rule 5: Prefer outgoing interface */
|
/* Rule 5: Prefer outgoing interface */
|
||||||
if (hiscore.rule < 5) {
|
if (hiscore.rule < 5) {
|
||||||
|
|
Loading…
Reference in New Issue