[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 07 Aug 2013 17:17:57 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: hannes@...essinduktion.org
Cc: netdev@...r.kernel.org, teco@...-net.nl, yoshfuji@...ux-ipv6.org,
equinox@...c24.net, boutier@....univ-paris-diderot.fr
Subject: Re: [PATCH net] ipv6: don't stop backtracking in fib6_lookup_1 if
subtree does not match
From: Hannes Frederic Sowa <hannes@...essinduktion.org>
Date: Wed, 7 Aug 2013 02:34:31 +0200
> In case a subtree did not match we currently stop backtracking and return
> NULL (root table from fib_lookup). This could yield in invalid routing
> table lookups when using subtrees.
>
> Instead continue to backtrack until a valid subtree or node is found
> and return this match.
>
> Also remove unneeded NULL check.
>
> Reported-by: Teco Boot <teco@...-net.nl>
> Cc: YOSHIFUJI Hideaki <yoshfuji@...ux-ipv6.org>
> Cc: David Lamparter <equinox@...c24.net>
> Cc: <boutier@....univ-paris-diderot.fr>
> Signed-off-by: Hannes Frederic Sowa <hannes@...essinduktion.org>
Applied and qeued up for -stable, 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