[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20111024.191331.2212247007501044514.davem@davemloft.net>
Date: Mon, 24 Oct 2011 19:13:31 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: andi@...lax.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] ipv6: Do not use routes from locally generated RAs
From: Andreas Hofmeister <andi@...lax.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@...lax.com>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists