From: Jeff Garzik <jeff@garzik.org>
To: Jay Vosburgh <fubar@us.ibm.com>
Cc: netdev@vger.kernel.org, "David S. Miller" <davem@davemloft.net>,
yoshfuji@linux-ipv6.org
Subject: Re: [PATCH] bonding / ipv6: no addrconf for slaves separately from master
Date: Tue, 10 Jul 2007 12:43:04 -0400 [thread overview]
Message-ID: <4693B718.7050309@garzik.org> (raw)
In-Reply-To: <22567.1184002967@death>
Jay Vosburgh wrote:
> At present, when a device is enslaved to bonding, if ipv6 is
> active then addrconf will be initated on the slave (because it is closed
> then opened during the enslavement processing). This causes DAD and RS
> packets to be sent from the slave. These packets in turn can confuse
> switches that perform ipv6 snooping, causing them to incorrectly update
> their forwarding tables (if, e.g., the slave being added is an inactve
> backup that won't be used right away) and direct traffic away from the
> active slave to a backup slave (where the incoming packets will be
> dropped).
>
> This patch alters the behavior so that addrconf will only run on
> the master device itself. I believe this is logically correct, as it
> prevents slaves from having an IPv6 identity independent from the
> master. This is consistent with the IPv4 behavior for bonding.
>
> This is accomplished by (a) having bonding set IFF_SLAVE sooner
> in the enslavement processing than currently occurs (before open, not
> after), and (b) having ipv6 addrconf ignore UP and CHANGE events on
> slave devices.
>
> The eql driver also uses the IFF_SLAVE flag. I inspected eql,
> and I believe this change is reasonable for its usage of IFF_SLAVE, but
> I did not test it.
>
> Signed-off-by: Jay Vosburgh <fubar@us.ibm.com>
applied
prev parent reply other threads:[~2007-07-10 16:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-09 17:42 [PATCH] bonding / ipv6: no addrconf for slaves separately from master Jay Vosburgh
2007-07-10 16:43 ` Jeff Garzik [this message]
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=4693B718.7050309@garzik.org \
--to=jeff@garzik.org \
--cc=davem@davemloft.net \
--cc=fubar@us.ibm.com \
--cc=netdev@vger.kernel.org \
--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 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.