]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Fix ipv6 source address handling.
authorJiri Kosina <jkosina@suse.cz>
Thu, 20 Sep 2007 19:56:55 +0000 (12:56 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 26 Sep 2007 17:54:43 +0000 (10:54 -0700)
commit29a2edbba56b39d5a3c268bae58c62234432846f
treec753115ec14d182c7257fd05e8bdf7b3ca843dec
parent7556e40bae766944a136b44252118737331513ca
Fix ipv6 source address handling.

commit 6ae5f983cf8de769214d2d9e8a783c881eccd4cd in mainline

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/ipv6/addrconf.c