| To: | "YOSHIFUJI Hideaki / ?$B5HF#1QL@" <yoshfuji@xxxxxxxxxxxxxx> |
|---|---|
| Subject: | IPv6 has trouble assigning an interface |
| From: | Felix von Leitner <felix-linuxkernel@xxxxxxx> |
| Date: | Mon, 25 Apr 2005 21:57:36 +0200 |
| Cc: | linux-kernel@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx |
| In-reply-to: | <20050324.205902.119922975.yoshfuji@xxxxxxxxxxxxxx> |
| References: | <20050311202122.GA13205@xxxxxxx> <20050311173308.7a076e8f.akpm@xxxxxxxx> <20050324.205902.119922975.yoshfuji@xxxxxxxxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.5.9i |
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
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH net-drivers-2.6 5/6] e100: Performance optimizations to e100 Tx Path (fwd), Malli Chilakala |
|---|---|
| Next by Date: | [PATCH 2.6.11.7] sch_htb: Drop packet when direct queue is full, Asim Shankar |
| Previous by Thread: | [PATCH net-drivers-2.6 5/6] e100: Performance optimizations to e100 Tx Path (fwd), Malli Chilakala |
| Next by Thread: | Re: IPv6 has trouble assigning an interface, David Stevens |
| Indexes: | [Date] [Thread] [Top] [All Lists] |