From: David Miller <davem@davemloft.net>
To: andi@collax.com
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH] ipv6: Do not use routes from locally generated RAs
Date: Mon, 24 Oct 2011 19:13:31 -0400 (EDT) [thread overview]
Message-ID: <20111024.191331.2212247007501044514.davem@davemloft.net> (raw)
In-Reply-To: <1319497776-23998-1-git-send-email-andi@collax.com>
From: Andreas Hofmeister <andi@collax.com>
Date: Tue, 25 Oct 2011 01:09:36 +0200
> When hybrid mode is enabled (accept_ra == 2), the kernel also sees RAs
> generated locally. This is useful since it allows the kernel to auto-configure
> its own interface addresses.
>
> However, if 'accept_ra_defrtr' and/or 'accept_ra_rtr_pref' are set and the
> locally generated RAs announce the default route and/or other route information,
> the kernel happily inserts bogus routes with its own address as gateway.
>
> With this patch, adding routes from an RA will be skiped when the RAs source
> address matches any local address, just as if 'accept_ra_defrtr' and
> 'accept_ra_rtr_pref' were set to 0.
>
> Signed-off-by: Andreas Hofmeister <andi@collax.com>
Applied, thanks.
next prev parent reply other threads:[~2011-10-24 23:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-24 23:09 [PATCH] ipv6: Do not use routes from locally generated RAs Andreas Hofmeister
2011-10-24 23:13 ` David Miller [this message]
-- strict thread matches above, loose matches on Subject: below --
2011-10-23 16:41 Andreas Hofmeister
2011-10-24 22:37 ` David Miller
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=20111024.191331.2212247007501044514.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=andi@collax.com \
--cc=netdev@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 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).