Thread (20 messages) 20 messages, 3 authors, 2015-12-03

Re: [PATCH net] ipv6: don't stop backtracking in fib6_lookup_1 if subtree does not match

flat view

From: David Miller <davem@davemloft.net>
Date: 2013-08-08 00:12:42

From: Hannes Frederic Sowa <redacted>
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 <redacted>
Cc: YOSHIFUJI Hideaki <redacted>
Cc: David Lamparter <redacted>
Cc: <redacted>
Signed-off-by: Hannes Frederic Sowa <redacted>
Applied and qeued up for -stable, thanks!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help