From: Lukasz Stelmach <stlman@poczta.fm>
To: LKML <linux-kernel@vger.kernel.org>
Cc: "Łukasz Stelmach" <stlman@poczta.fm>
Subject: ipv6 source address selection in addrconf.c (2.6.17)
Date: Tue, 20 Jun 2006 14:56:07 +0200 [thread overview]
Message-ID: <4497F067.3090008@poczta.fm> (raw)
[-- Attachment #1: Type: text/plain, Size: 862 bytes --]
Greetings
net/ipv6/addrconf.c:971 is
/* Rule 2: Prefer appropriate scope */
if (hiscore.rule < 2) {
hiscore.scope = __ipv6_addr_src_scope(hiscore.addr_type);
hiscore.rule++;
}
Do you think it makes any sens when hiscore.addr_type hasn't been assigned any
value (or I can't see it) before? There are some more references to
hiscore.addr_type below but no assignment.
I am trying to figure out why when trying to connect to
2001:200:0:8002:203:47ff:fea5:3085 (www.kame.net)
with two global addresses assigned to the ethernet card
fd24:6f44:46bd:face::254
2002:531f:d667:face::254
rule 8 does not work and the first address is chosen.
Please CC answers.
--
Było mi bardzo miło. Czwarta pospolita klęska, [...]
>Łukasz< Już nie katolicka lecz złodziejska. (c)PP
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 254 bytes --]
next reply other threads:[~2006-06-20 12:56 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-20 12:56 Lukasz Stelmach [this message]
2006-06-20 19:38 ` ipv6 source address selection in addrconf.c (2.6.17) David Miller
-- strict thread matches above, loose matches on Subject: below --
2006-06-20 21:38 Lukasz Stelmach
2006-06-21 13:42 ` [patch] " Lukasz Stelmach
2006-06-21 22:57 ` Lukasz Stelmach
2006-06-22 0:26 ` YOSHIFUJI Hideaki / 吉藤英明
2006-06-22 11:04 ` Lukasz Stelmach
2006-06-21 14:02 ` YOSHIFUJI Hideaki / 吉藤英明
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4497F067.3090008@poczta.fm \
--to=stlman@poczta.fm \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.