[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20111030.041317.762958848567532756.davem@davemloft.net>
Date: Sun, 30 Oct 2011 04:13:17 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: andi@...lax.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] ipv6: fix route lookup in addrconf_prefix_rcv()
From: Andreas Hofmeister <andi@...lax.com>
Date: Wed, 26 Oct 2011 15:24:29 +0200
> The route lookup to find a previously auto-configured route for a prefixes used
> to use rt6_lookup(), with the prefix from the RA used as an address. However,
> that kind of lookup ignores routing tables, the prefix length and route flags,
> so when there were other matching routes, even in different tables and/or with
> a different prefix length, the wrong route would be manipulated.
>
> Now, a new function "addrconf_get_prefix_route()" is used for the route lookup,
> which searches in RT6_TABLE_PREFIX and takes the prefix-length and route flags
> into account.
>
> Signed-off-by: Andreas Hofmeister <andi@...lax.com>
Applied, thanks a lot.
--
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