From: "YOSHIFUJI Hideaki / 吉藤英明" <yoshfuji@linux-ipv6.org>
To: usagi-users@linux-ipv6.org, pioppo@ferrara.linux.it
Cc: netdev@oss.sgi.com, linux-kernel@vger.kernel.org,
ds6-devel@deepspace6.net
Subject: Re: (usagi-users 02296) IPv6 duplicate address bugfix
Date: Sun, 30 Mar 2003 22:08:29 +0900 (JST) [thread overview]
Message-ID: <20030330.220829.129728506.yoshfuji@linux-ipv6.org> (raw)
In-Reply-To: <20030330122705.GA18283@ferrara.linux.it>
In article <20030330122705.GA18283@ferrara.linux.it> (at Sun, 30 Mar 2003 14:27:05 +0200), Simone Piunno <pioppo@ferrara.linux.it> says:
> When adding an IPv6 address to a given interface, I'm allowed to
> add that address multiple time, e.g.:
>
> [root@abulafia root]# ip addr add 3ffe:4242:4242::1 dev eth0
> [root@abulafia root]# ip addr add 3ffe:4242:4242::1 dev eth0
> [root@abulafia root]# ip addr add 3ffe:4242:4242::1 dev eth0
> [root@abulafia root]# ip addr show dev eth0
> 2: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 100
> link/ether 00:48:54:1b:25:30 brd ff:ff:ff:ff:ff:ff
> inet6 3ffe:4242:4242::1/128 scope global
> inet6 3ffe:4242:4242::1/128 scope global
> inet6 3ffe:4242:4242::1/128 scope global
> inet6 fe80::248:54ff:fe1b:2530/10 scope link
>
> Apparently, this is not a stability problem, because I'm allowed to
> delete 3 times that address before receving a "not found" error,
> but there's no reason to allow multiple instances of the same address
> on the same interface, so this is a bug nonetheless.
>
> Bug is confirmed on:
> - 2.4.20
> - 2.5.66
> - latest -usagi
usagi code does not act like that.
In my environment,
# ip addr add 3ffe:4242:4242::1 dev eth0
# ip addr add 3ffe:4242:4242::1 dev eth0
RTNETLINK answers: No buffer space available
# ip addr add 3ffe:4242:4242::1 dev eth0
RTNETLINK answers: No buffer space available
And, patch does not seem optimal. I'd take a look at very soon.
--
Hideaki YOSHIFUJI @ USAGI Project <yoshfuji@linux-ipv6.org>
GPG FP: 9022 65EB 1ECF 3AD1 0BDF 80D8 4807 F894 E062 0EEA
next prev parent reply other threads:[~2003-03-30 12:57 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-30 12:27 Simone Piunno
2003-03-30 13:08 ` YOSHIFUJI Hideaki / 吉藤英明 [this message]
2003-03-30 14:58 ` [PATCH] IPv6: Don't assign a same IPv6 address on a same interface (is Re: IPv6 duplicate address bugfix) YOSHIFUJI Hideaki / 吉藤英明
2003-03-30 16:36 ` Simone Piunno
2003-03-30 18:35 ` YOSHIFUJI Hideaki / 吉藤英明
2003-03-31 1:34 ` [PATCH] IPv6: Don't assign a same IPv6 address on a same interface YOSHIFUJI Hideaki / 吉藤英明
2003-03-31 19:05 ` David S. Miller
2003-03-31 18:23 ` (usagi-users 02296) IPv6 duplicate address bugfix Peter Bieringer
2003-03-31 18:56 ` [ds6-devel] " Simone Piunno
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=20030330.220829.129728506.yoshfuji@linux-ipv6.org \
--to=yoshfuji@linux-ipv6.org \
--cc=ds6-devel@deepspace6.net \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@oss.sgi.com \
--cc=pioppo@ferrara.linux.it \
--cc=usagi-users@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
all inboxes | Powered by JetHome®