]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[IPV6]: Fix source address selection.
authorJiri Kosina <jkosina@suse.cz>
Sun, 16 Sep 2007 21:48:21 +0000 (14:48 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 16 Sep 2007 21:48:21 +0000 (14:48 -0700)
commit6ae5f983cf8de769214d2d9e8a783c881eccd4cd
treebfc249a8c92e1cbd73845b502eadb4516eb46c69
parent2a0c6c980d209827e5d69017fa736f107a744d1d
[IPV6]: Fix source address selection.

The commit 95c385 broke proper source address selection for cases in which
there is a address which is makred 'deprecated'. The commit mistakenly
changed ifa->flags to ifa_result->flags (probably copy/paste error from a
few lines above) in the 'Rule 3' address selection code.

The patch restores the previous RFC-compliant behavior.

Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/addrconf.c