From: Felix von Leitner <felix-linuxkernel@fefe.de>
To: "YOSHIFUJI Hideaki / ?$B5HF#1QL@" <yoshfuji@linux-ipv6.org>
Cc: linux-kernel@vger.kernel.org, netdev@oss.sgi.com
Subject: IPv6 has trouble assigning an interface
Date: Mon, 25 Apr 2005 21:57:36 +0200 [thread overview]
Message-ID: <20050425195736.GB3123@codeblau.de> (raw)
In-Reply-To: <20050324.205902.119922975.yoshfuji@linux-ipv6.org>
I'm using stock 2.6.11.7 now.
Here is an strace of some piece of code of mine:
socket(PF_INET6, SOCK_DGRAM, IPPROTO_IP) = 3
setsockopt(3, SOL_SOCKET, SO_REUSEADDR, [12884901889], 4) = 0
bind(3, {sa_family=AF_INET6, sin6_port=htons(8002), inet_pton(AF_INET6, "::", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = 0
setsockopt(3, SOL_IPV6, IPV6_MULTICAST_LOOP, "\1", 1) = 0
[...]
sendto(3, "ncp-lowfat-1.2.2", 16, 0, {sa_family=AF_INET6, sin6_port=htons(8002), inet_pton(AF_INET6, "ff02::6e63:7030", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = -1 EADDRNOTAVAIL (Cannot assign requested address)
ff02 is a link-local multicast address. I've bound to ::. How can this
fail? link-local should always work, even if no routes are set and no
router has been found.
Felix
next prev parent reply other threads:[~2005-04-25 19:57 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20050311202122.GA13205@fefe.de>
2005-03-12 1:33 ` 2.6.11: USB broken on nforce4, ipv6 still broken, centrino speedstep even more broken than in 2.6.10 Andrew Morton
2005-03-22 0:33 ` Andrew Morton
2005-03-22 2:18 ` Johannes Stezenbach
2005-03-22 16:22 ` Johannes Stezenbach
2005-03-24 11:59 ` [PATCH] [IPV6] Fix address/interface handling according to the scoping architecture (is Re: 2.6.11: USB broken on nforce4, ipv6 still broken, centrino speedstep even more broken than in 2.6.10) YOSHIFUJI Hideaki / 吉藤英明
2005-04-25 19:57 ` Felix von Leitner [this message]
2005-04-25 21:00 ` IPv6 has trouble assigning an interface Pekka Savola
2005-04-26 6:10 ` Felix von Leitner
2005-04-27 22:57 ` Kyle Moffett
2005-04-27 23:31 ` David Stevens
2005-04-25 22:38 ` David Stevens
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=20050425195736.GB3123@codeblau.de \
--to=felix-linuxkernel@fefe.de \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@oss.sgi.com \
--cc=yoshfuji@linux-ipv6.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).